Skip to main content

Module stats_reader

Module stats_reader 

Source
Expand description

Column Statistics Snapshot Reader

Exposes per-column storage statistics to the query optimizer as immutable snapshots. Data sources are the storage-side zone maps and persisted column stats, so reading a snapshot costs O(chunk count) rather than O(row count) and never materializes rows.

The trait methods are defaulted so test stubs and partial engines only implement what they can serve; consumers must fall back conservatively when a snapshot is unavailable.

Structs§

ColumnStatsSnapshot
Immutable point-in-time statistics for one property column of a vertex tag or an edge type.
TableCardinalitySnapshot
Immutable point-in-time cardinality for one vertex tag or edge type.

Traits§

ColumnStatsReader
Reader capability for optimizer-facing column statistics snapshots.