#[non_exhaustive]#[repr(u32)]pub enum SectionType {
Catalog = 1,
LpgStore = 2,
RdfStore = 3,
CompactStore = 4,
VectorStore = 10,
TextIndex = 11,
RdfRing = 12,
PropertyIndex = 20,
}Expand description
Identifies a section type in the container directory.
Types 1-9 are data sections (authoritative, cannot be rebuilt). Types 10-19 are index sections (derived, can be rebuilt from data). Types 20+ are reserved for future acceleration structures.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Catalog = 1
Schema definitions, index metadata, epoch, configuration.
LpgStore = 2
LPG nodes, edges, properties, named graphs.
RdfStore = 3
RDF triples and named graphs.
CompactStore = 4
Columnar CompactStore: read-only base for layered storage.
VectorStore = 10
Vector embeddings, HNSW topology, quantization data.
TextIndex = 11
BM25 inverted index: term dictionary, postings lists.
RdfRing = 12
RDF Ring index: wavelet trees, succinct permutations.
PropertyIndex = 20
Property hash/btree indexes.
Implementations§
Source§impl SectionType
impl SectionType
Sourcepub const fn is_data_section(self) -> bool
pub const fn is_data_section(self) -> bool
Whether this section type holds authoritative data (not rebuildable).
Sourcepub const fn is_index_section(self) -> bool
pub const fn is_index_section(self) -> bool
Whether this section type holds a derived index (rebuildable from data).
Source§impl SectionType
impl SectionType
Sourcepub const fn default_flags(self) -> SectionFlags
pub const fn default_flags(self) -> SectionFlags
Default flags for this section type.
Trait Implementations§
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SectionType
impl Debug for SectionType
Source§impl<'de> Deserialize<'de> for SectionType
impl<'de> Deserialize<'de> for SectionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for SectionType
impl Hash for SectionType
Source§impl PartialEq for SectionType
impl PartialEq for SectionType
Source§impl Serialize for SectionType
impl Serialize for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnsafeUnpin for SectionType
impl UnwindSafe for SectionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.