pub struct TripleProvenance {
pub terms: (String, String, String),
pub ids: (u32, u32, u32),
pub graph: Option<String>,
pub matched_pattern: (Option<u32>, Option<u32>, Option<u32>),
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: (String, String, String)Matched triple resolved to canonical N-Triples tokens.
ids: (u32, u32, u32)Matched triple in dictionary ID space.
graph: Option<String>Named graph IRI, or None for the default graph.
matched_pattern: (Option<u32>, Option<u32>, Option<u32>)The 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 more