pub struct Rdf12LiteralOccurrences<'a, A: LiteralTermAccess, C: TripleCursor> { /* private fields */ }Expand description
Native bounded recursive literal selection, with readers borrowed from storage.
Walks actual selected term structure using Rdf12OccurrenceCursor, then opens
supported literal readers one at a time. Repeated keys keep distinct paths;
metadata datatype IRIs are never traversed as actual RDF terms. No input graph,
dictionary or whole literal value is collected. Scratch writes must not change
the selected immutable root/dictionary/payload view during this phase.
Implementations§
Source§impl<'a, A, C> Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> Rdf12LiteralOccurrences<'a, A, C>
Sourcepub fn new(
roots: C,
access: &'a A,
role: LiteralRole,
limits: OccurrenceLimits,
) -> Self
pub fn new( roots: C, access: &'a A, role: LiteralRole, limits: OccurrenceLimits, ) -> Self
Select one immutable source/target scope and explicit traversal budgets. Retain snapshot/source-graph provenance alongside emitted root/path records.
Trait Implementations§
Source§impl<'a, A, C> LiteralOccurrenceCursor for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> LiteralOccurrenceCursor for Rdf12LiteralOccurrences<'a, A, C>
Source§type Term = <A as EntailmentTerms>::Term
type Term = <A as EntailmentTerms>::Term
Exact term identities shared with inference scratch storage.
Source§type Error = <A as EntailmentTerms>::Error
type Error = <A as EntailmentTerms>::Error
Cursor/read failure.
Source§type Reader = <A as LiteralTermAccess>::Reader<'a>
type Reader = <A as LiteralTermAccess>::Reader<'a>
Reader for one immutable literal, independent of scratch writes.
It may borrow the immutable accessor for the cursor’s lifetime.
Auto Trait Implementations§
impl<'a, A, C> Forget for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> Freeze for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> Move for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> RefUnwindSafe for Rdf12LiteralOccurrences<'a, A, C>where
C: RefUnwindSafe,
A: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
NonZero<u64>: RefUnwindSafe,
<A as EntailmentTerms>::Term: RefUnwindSafe,
impl<'a, A, C> Send for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> Sync for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> Unpin for Rdf12LiteralOccurrences<'a, A, C>
impl<'a, A, C> UnsafeUnpin for Rdf12LiteralOccurrences<'a, A, C>where
C: UnsafeUnpin,
&'a A: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
<A as EntailmentTerms>::Term: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Frame<<A as EntailmentTerms>::Term>>: UnsafeUnpin,
impl<'a, A, C> UnwindSafe for Rdf12LiteralOccurrences<'a, A, C>where
C: UnwindSafe,
&'a A: UnwindSafe,
NonZero<u32>: UnwindSafe,
NonZero<u64>: UnwindSafe,
<A as EntailmentTerms>::Term: UnwindSafe,
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more