pub struct LazyStoreStrategy { /* private fields */ }Expand description
Lazy indexing strategy - index on first query
Implementations§
Source§impl LazyStoreStrategy
impl LazyStoreStrategy
Sourcepub fn new() -> LazyStoreStrategy
pub fn new() -> LazyStoreStrategy
Create with SPO as primary
Sourcepub fn is_materialized(&self, index: IndexType) -> bool
pub fn is_materialized(&self, index: IndexType) -> bool
Check if index is materialized
Sourcepub fn mark_materialized(&self, index: IndexType)
pub fn mark_materialized(&self, index: IndexType)
Mark index as materialized
Trait Implementations§
Source§impl Debug for LazyStoreStrategy
impl Debug for LazyStoreStrategy
Source§impl Default for LazyStoreStrategy
impl Default for LazyStoreStrategy
Source§fn default() -> LazyStoreStrategy
fn default() -> LazyStoreStrategy
Returns the “default value” for a type. Read more
Source§impl StoreStrategy for LazyStoreStrategy
impl StoreStrategy for LazyStoreStrategy
Source§fn index_on_add(&self) -> bool
fn index_on_add(&self) -> bool
Should index on add?
Source§fn select_index(&self, pattern: PatternType) -> IndexType
fn select_index(&self, pattern: PatternType) -> IndexType
Select best index for pattern
Source§fn estimate_cost(&self, pattern: PatternType) -> f64
fn estimate_cost(&self, pattern: PatternType) -> f64
Get estimated cost for pattern with this strategy
Auto Trait Implementations§
impl !Freeze for LazyStoreStrategy
impl RefUnwindSafe for LazyStoreStrategy
impl Send for LazyStoreStrategy
impl Sync for LazyStoreStrategy
impl Unpin for LazyStoreStrategy
impl UnsafeUnpin for LazyStoreStrategy
impl UnwindSafe for LazyStoreStrategy
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request