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
impl Copy for SectionKind
Source§impl Debug for SectionKind
impl Debug for SectionKind
impl Eq for SectionKind
Source§impl PartialEq for SectionKind
impl PartialEq for SectionKind
impl StructuralPartialEq for SectionKind
Auto Trait Implementations§
impl Freeze for SectionKind
impl RefUnwindSafe for SectionKind
impl Send for SectionKind
impl Sync for SectionKind
impl Unpin for SectionKind
impl UnsafeUnpin for SectionKind
impl UnwindSafe for SectionKind
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