pub struct IndexStatistics {
pub spo_lookup_cost: f64,
pub pos_lookup_cost: f64,
pub osp_lookup_cost: f64,
pub has_osp_index: bool,
}Expand description
Statistics about index access patterns for cost estimation.
Fields§
§spo_lookup_cost: f64Average cost of SPO index lookup (subject first).
pos_lookup_cost: f64Average cost of POS index lookup (predicate first).
osp_lookup_cost: f64Average cost of OSP index lookup (object first).
has_osp_index: boolWhether OSP index is available.
Implementations§
Trait Implementations§
Source§impl Clone for IndexStatistics
impl Clone for IndexStatistics
Source§fn clone(&self) -> IndexStatistics
fn clone(&self) -> IndexStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexStatistics
impl Debug for IndexStatistics
Source§impl Default for IndexStatistics
impl Default for IndexStatistics
Source§fn default() -> IndexStatistics
fn default() -> IndexStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexStatistics
impl RefUnwindSafe for IndexStatistics
impl Send for IndexStatistics
impl Sync for IndexStatistics
impl Unpin for IndexStatistics
impl UnwindSafe for IndexStatistics
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