pub struct TripleProvenance {
pub terms: TermTriple,
pub ids: Triple,
pub graph: Option<String>,
pub matched_pattern: Pattern,
pub index_permutation: IndexPermutation,
pub dictionary_range: ByteRange,
pub index_range: ByteRange,
pub index_section_range: ByteRange,
pub pyramid_range: Option<ByteRange>,
pub tile: Option<String>,
pub tile_range: Option<ByteRange>,
}Expand description
Why a triple-pattern result is present in the file.
Fields§
§terms: TermTripleMatched triple resolved to canonical N-Triples tokens.
ids: TripleMatched triple in dictionary ID space.
graph: Option<String>Named graph IRI, or None for the default graph.
matched_pattern: PatternThe resolved ID-space pattern that was matched.
index_permutation: IndexPermutationPermutation selected to answer the pattern.
dictionary_range: ByteRangeFile byte range containing the dictionary container.
index_range: ByteRangeFile byte range containing the permutation index container.
index_section_range: ByteRangeFile byte range containing the selected permutation payload inside the index container.
pyramid_range: Option<ByteRange>File byte range containing the pyramid metadata, when present.
tile: Option<String>Physical tile identifier, once tile directories are materialized.
Physical tile identifier (PERM/index, e.g. POS/3) for tiled (v0.2)
files; None for pre-tiling files.
tile_range: Option<ByteRange>File byte range of that (compressed) tile — the exact bytes a ranged client would fetch to re-derive this match.
Trait Implementations§
Source§impl Clone for TripleProvenance
impl Clone for TripleProvenance
Source§fn clone(&self) -> TripleProvenance
fn clone(&self) -> TripleProvenance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TripleProvenance
impl Debug for TripleProvenance
impl Eq for TripleProvenance
Source§impl PartialEq for TripleProvenance
impl PartialEq for TripleProvenance
impl StructuralPartialEq for TripleProvenance
Auto Trait Implementations§
impl Freeze for TripleProvenance
impl RefUnwindSafe for TripleProvenance
impl Send for TripleProvenance
impl Sync for TripleProvenance
impl Unpin for TripleProvenance
impl UnsafeUnpin for TripleProvenance
impl UnwindSafe for TripleProvenance
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more