pub struct GraphStatistics {Show 22 fields
pub computed_at_commit_epoch: u64,
pub advanced_statistics_complete: bool,
pub histogram_sample_limit: usize,
pub node_count: u64,
pub relationship_count: u64,
pub label_counts: BTreeMap<LabelId, u64>,
pub rel_type_counts: BTreeMap<RelTypeId, u64>,
pub rel_type_source_counts: BTreeMap<RelTypeId, u64>,
pub rel_type_target_counts: BTreeMap<RelTypeId, u64>,
pub path_counts: BTreeMap<(LabelId, RelTypeId, LabelId), u64>,
pub path_source_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId), u64>,
pub path_target_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId), u64>,
pub bounded_path_counts: BTreeMap<(LabelId, RelTypeId, LabelId, usize), u64>,
pub bounded_path_source_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId, usize), u64>,
pub bounded_path_target_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId, usize), u64>,
pub index_samples: BTreeMap<IndexId, IndexStatisticsSample>,
pub property_distinct_counts: BTreeMap<(LabelId, String), u64>,
pub rel_property_distinct_counts: BTreeMap<(RelTypeId, String), u64>,
pub property_histograms: BTreeMap<(LabelId, String), Vec<Value>>,
pub rel_property_histograms: BTreeMap<(RelTypeId, String), Vec<Value>>,
pub sampled_property_histograms: BTreeMap<(LabelId, String), bool>,
pub sampled_rel_property_histograms: BTreeMap<(RelTypeId, String), bool>,
}Fields§
§computed_at_commit_epoch: u64§advanced_statistics_complete: bool§histogram_sample_limit: usize§node_count: u64§relationship_count: u64§label_counts: BTreeMap<LabelId, u64>§rel_type_counts: BTreeMap<RelTypeId, u64>§rel_type_source_counts: BTreeMap<RelTypeId, u64>§rel_type_target_counts: BTreeMap<RelTypeId, u64>§path_counts: BTreeMap<(LabelId, RelTypeId, LabelId), u64>§path_source_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId), u64>§path_target_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId), u64>§bounded_path_counts: BTreeMap<(LabelId, RelTypeId, LabelId, usize), u64>§bounded_path_source_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId, usize), u64>§bounded_path_target_distinct_counts: BTreeMap<(LabelId, RelTypeId, LabelId, usize), u64>§index_samples: BTreeMap<IndexId, IndexStatisticsSample>§property_distinct_counts: BTreeMap<(LabelId, String), u64>§rel_property_distinct_counts: BTreeMap<(RelTypeId, String), u64>§property_histograms: BTreeMap<(LabelId, String), Vec<Value>>§rel_property_histograms: BTreeMap<(RelTypeId, String), Vec<Value>>§sampled_property_histograms: BTreeMap<(LabelId, String), bool>§sampled_rel_property_histograms: BTreeMap<(RelTypeId, String), bool>Implementations§
Source§impl GraphStatistics
impl GraphStatistics
Sourcepub fn advanced_statistics_freshness(
&self,
current_commit_epoch: u64,
) -> AdvancedStatisticsFreshness
pub fn advanced_statistics_freshness( &self, current_commit_epoch: u64, ) -> AdvancedStatisticsFreshness
Classifies only advanced statistics; basic counts may be newer than this snapshot.
Sourcepub fn advanced_statistics_commit_lag(&self, current_commit_epoch: u64) -> u64
pub fn advanced_statistics_commit_lag(&self, current_commit_epoch: u64) -> u64
Returns the observable lag without underflowing on an invalid future snapshot epoch.
Trait Implementations§
Source§impl Clone for GraphStatistics
impl Clone for GraphStatistics
Source§impl Debug for GraphStatistics
impl Debug for GraphStatistics
Source§impl Default for GraphStatistics
impl Default for GraphStatistics
impl Eq for GraphStatistics
Source§impl PartialEq for GraphStatistics
impl PartialEq for GraphStatistics
impl StructuralPartialEq for GraphStatistics
Auto Trait Implementations§
impl Freeze for GraphStatistics
impl RefUnwindSafe for GraphStatistics
impl Send for GraphStatistics
impl Sync for GraphStatistics
impl Unpin for GraphStatistics
impl UnsafeUnpin for GraphStatistics
impl UnwindSafe for GraphStatistics
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