Skip to main content

Rdf12LiteralOccurrences

Struct Rdf12LiteralOccurrences 

Source
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>
where A: LiteralTermAccess, C: TripleCursor<Term = A::Term, Error = A::Error>,

Source

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>
where A: LiteralTermAccess, C: TripleCursor<Term = A::Term, Error = A::Error>,

Source§

type Term = <A as EntailmentTerms>::Term

Exact term identities shared with inference scratch storage.
Source§

type Error = <A as EntailmentTerms>::Error

Cursor/read failure.
Source§

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.
Source§

async fn next( &mut self, ) -> LiteralOccurrenceRead<Self::Term, Self::Reader, Self::Error>

Return one occurrence and reader; zero remaining rows must mean successful EOF.

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>

§

impl<'a, A, C> Send for Rdf12LiteralOccurrences<'a, A, C>
where &'a A: Send, NonZero<u32>: Send, NonZero<u64>: Send, <A as EntailmentTerms>::Term: Send, RawVecInner: Send,

§

impl<'a, A, C> Sync for Rdf12LiteralOccurrences<'a, A, C>
where C: Sync, NonZero<u32>: Sync, NonZero<u64>: Sync, <A as EntailmentTerms>::Term: Sync, RawVecInner: Sync,

§

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>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V