Expand description
Aggregate statistics about data stored in persist.
Re-exports§
pub use bytes::AtomicBytesStats;pub use bytes::BytesStats;pub use bytes::FixedSizeBytesStats;pub use bytes::FixedSizeBytesStatsKind;pub use json::JsonMapElementStats;pub use json::JsonStats;pub use primitive::PrimitiveStats;pub use primitive::PrimitiveStatsVariants;pub use primitive::TRUNCATE_LEN;pub use primitive::TruncateBound;pub use primitive::truncate_bytes;pub use primitive::truncate_string;pub use structured::StructStats;
Modules§
- bytes
- json
- primitive
- proto_
bytes_ stats - Nested message and enum types in
ProtoBytesStats. - proto_
dyn_ stats - Nested message and enum types in
ProtoDynStats. - proto_
fixed_ size_ bytes_ stats - Nested message and enum types in
ProtoFixedSizeBytesStats. - proto_
json_ stats - Nested message and enum types in
ProtoJsonStats. - proto_
primitive_ stats - Nested message and enum types in
ProtoPrimitiveStats. - structured
Macros§
- primitive_
stats 🔒 - We collect stats for all primitive types in exactly the same way. This macro de-duplicates some of that logic.
Structs§
- Column
Null Stats - Statistics about the null values in a column.
- Columnar
Stats - Statistics for a single column of data.
- None
Stats - Empty set of statistics.
- Option
Stats - Statistics about a column of some optional type.
- Part
Stats - Aggregate statistics about data contained in a Part.
- Part
Stats Metrics - Metrics for PartStats.
- Proto
Atomic Bytes Stats - Proto
Bytes Stats - Proto
DynStats - Proto
Fixed Size Bytes Stats - Proto
Json MapElement Stats - Proto
Json MapStats - Proto
Json Stats - Proto
Option Stats - Proto
Primitive Bytes Stats - Proto
Primitive Stats - Proto
Struct Stats
Enums§
- Column
Stat Kinds - All of the kinds of statistics that we support.
Traits§
- Column
Stats - Aggregate statistics about a column of type
T. - Columnar
Stats Builder - A type that can incrementally collect stats from a sequence of values.
- DynStats
- Type that can be used to represent some
ColumnStats. - Trim
Stats - Trim, possibly in a lossy way, statistics to reduce the serialization costs.
Functions§
- any_
columnar_ 🔒stats - Returns a
Strategythat generates arbitraryColumnarStats. - trim_
to_ budget - Trims the included column status until they fit within a budget.
- trim_
to_ 🔒budget_ jsonb - trim_
to_ 🔒budget_ struct - Recursively trims cols in the struct, greatest-size first, keeping force kept cols and ancestors of force kept cols.