pub enum SectionKind {
Metadata,
Dictionary,
Index,
PyramidMeta,
NamedGraphs,
TextIndex,
BuildInfo,
Unknown(u16),
}Expand description
A top-level file section, addressed by SectionKind in the header directory.
Variants§
Metadata
Dataset-card metadata.
Dictionary
Dictionary container (front-coded term sections).
Index
Permutation index container (SPO/POS/OSP).
PyramidMeta
Community + schema pyramid metadata.
NamedGraphs
Named-graphs section.
TextIndex
Full-text (word) index over literals — token → subjects.
BuildInfo
Build-conditions record (timestamp, builder version, build parameters,
measured starter-query costs), stored as an opaque JSON blob owned by the
application layer (the CLI). Deliberately excluded from the content
hash: two builds of identical data must hash identically, and this
section is exactly the per-build facts (when, by which binary, how fast)
that differ between them. verify therefore does not cover it.
Unknown(u16)
A section kind this build doesn’t know — preserved verbatim on round-trip so a newer writer’s sections survive an older reader.
Trait Implementations§
Source§impl Clone for SectionKind
impl Clone for SectionKind
Source§fn clone(&self) -> SectionKind
fn clone(&self) -> SectionKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more