pub struct PredStat {
pub predicate: u32,
pub count: u64,
pub distinct_subjects: u64,
pub distinct_objects: u64,
pub max_objects_per_subject: u32,
pub max_subjects_per_object: u32,
}Expand description
Per-predicate cardinality statistics for the cost-based query planner —
computed at build, range-fetched with the pyramid (index-free). count is the
triple total; the distinct-subject/object counts and max multiplicities let
the planner estimate a bound subject’s/object’s selectivity (functional
iff max_objects_per_subject == 1, inverse-functional iff
max_subjects_per_object == 1).
Fields§
§predicate: u32§count: u64§distinct_subjects: u64§distinct_objects: u64§max_objects_per_subject: u32§max_subjects_per_object: u32Trait Implementations§
impl Eq for PredStat
impl StructuralPartialEq for PredStat
Auto Trait Implementations§
impl Freeze for PredStat
impl RefUnwindSafe for PredStat
impl Send for PredStat
impl Sync for PredStat
impl Unpin for PredStat
impl UnsafeUnpin for PredStat
impl UnwindSafe for PredStat
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