pub struct StatisticsManager<T: KeyValueStore> { /* private fields */ }
Expand description
Statistics implementation with KeyValueStore backend
Implementations§
Source§impl<T: KeyValueStore + 'static> StatisticsManager<T>
impl<T: KeyValueStore + 'static> StatisticsManager<T>
Trait Implementations§
Source§impl<T: KeyValueStore + 'static> StatisticsProvider for StatisticsManager<T>
impl<T: KeyValueStore + 'static> StatisticsProvider for StatisticsManager<T>
Source§fn get_selectivity<'life0, 'life1, 'async_trait>(
&'life0 self,
_filter: &'life1 BooleanExpression,
) -> Pin<Box<dyn Future<Output = Result<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_selectivity<'life0, 'life1, 'async_trait>(
&'life0 self,
_filter: &'life1 BooleanExpression,
) -> Pin<Box<dyn Future<Output = Result<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the selectivity of a filter
Source§fn get_vertex_cardinality<'life0, 'life1, 'async_trait>(
&'life0 self,
_pattern: &'life1 VertexPattern,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_vertex_cardinality<'life0, 'life1, 'async_trait>(
&'life0 self,
_pattern: &'life1 VertexPattern,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the cardinality of a vertex pattern
Source§fn get_edge_cardinality<'life0, 'life1, 'async_trait>(
&'life0 self,
_pattern: &'life1 EdgePattern,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_edge_cardinality<'life0, 'life1, 'async_trait>(
&'life0 self,
_pattern: &'life1 EdgePattern,
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the cardinality of an edge pattern
Auto Trait Implementations§
impl<T> Freeze for StatisticsManager<T>
impl<T> RefUnwindSafe for StatisticsManager<T>where
T: RefUnwindSafe,
impl<T> Send for StatisticsManager<T>
impl<T> Sync for StatisticsManager<T>
impl<T> Unpin for StatisticsManager<T>
impl<T> UnwindSafe for StatisticsManager<T>where
T: RefUnwindSafe,
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