pub struct StoreOptions {
pub graph_index: bool,
pub text_index: bool,
pub versioning: Versioning,
pub stamp_index: bool,
pub as_of_index: bool,
}Expand description
Options chosen when a store is created.
Fields§
§graph_index: boolCreate the optional quads_gspo index (fast GRAPH <g> { ?s ?p ?o }, CLEAR GRAPH).
text_index: boolCreate the full-text index over string literals (FTS5, see crate::text).
versioning: VersioningHow much history the store keeps (see crate::version); Off by default. Applied when
the store is created; an existing store changes level only through an explicit level
change.
stamp_index: boolWith stamped or log: index quads.t (fast “added since” queries, one more row
written per quad).
as_of_index: boolWith log: index the change log by predicate and object too (fast as-of queries on
any pattern, two more rows written per change).
Implementations§
Source§impl StoreOptions
impl StoreOptions
Sourcepub fn level_change(&self) -> LevelChange
pub fn level_change(&self) -> LevelChange
The level change that creates this store’s versioning.
Trait Implementations§
Source§impl Clone for StoreOptions
impl Clone for StoreOptions
Source§impl Debug for StoreOptions
impl Debug for StoreOptions
Source§impl Default for StoreOptions
impl Default for StoreOptions
impl Eq for StoreOptions
Source§impl PartialEq for StoreOptions
impl PartialEq for StoreOptions
impl StructuralPartialEq for StoreOptions
Auto Trait Implementations§
impl Freeze for StoreOptions
impl RefUnwindSafe for StoreOptions
impl Send for StoreOptions
impl Sync for StoreOptions
impl Unpin for StoreOptions
impl UnsafeUnpin for StoreOptions
impl UnwindSafe for StoreOptions
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
Mutably borrows from an owned value. Read more