Module mz_persist_types::stats::primitive
source · Macros§
- This macro implements the
RustType
trait for all variants ofPrimitiveStats
. - This macro implements the
ColumnStats
trait for all variants ofPrimitiveStats
.
Structs§
- Statistics about a primitive non-optional column.
Enums§
- Enum wrapper around
PrimitiveStats
for each variant that we support. - Whether a truncated value should be a lower or upper bound on the original.
Constants§
- The length to truncate
Vec<u8>
andString
stats to.
Functions§
- Returns a
Strategy
for generating arbitraryPrimitiveStats
. - Returns a
Strategy
for generating arbitraryPrimitiveStats<Vec<u8>>
. - Truncates a u8 slice to the given maximum byte length.
- Truncates a string to the given maximum byte length.