Skip to main content

Module primitive

Module primitive 

Source

Structs§

PrimitiveStats
Statistics about a primitive non-optional column.

Enums§

PrimitiveStatsVariants
Enum wrapper around PrimitiveStats for each variant that we support.
TruncateBound
Whether a truncated value should be a lower or upper bound on the original.

Constants§

TRUNCATE_LEN
The length to truncate Vec<u8> and String stats to.

Functions§

truncate_bytes
Truncates a u8 slice to the given maximum byte length.
truncate_string
Truncates a string to the given maximum byte length.