Expand description
Traits and utilities to compute and access array statistics.
Modules§
Structs§
- ArrayStats 
- A shared StatsSetstored in an array. Can be shared by copies of the array and can also be mutated in place.
- IsConstant
- IsSorted
- IsStrictSorted 
- LowerBound 
- Interpret the value as a lower bound. These form a partial order over successively more precise bounds
- Max
- These structs allow the extraction of the bound from the Precisionvalue. They tie together the Stat and the StatBound, which allows the bound to be extracted.
- Min
- NullCount 
- StatsSet 
- StatsSetInto Iter 
- Owned iterator over the stats.
- StatsSetRef 
- Reference to an array’s StatsSet. Can be used to get and mutate the underlying stats.
- Sum
- UncompressedSize InBytes 
- UpperBound 
- Interpret the value as an upper bound, see LowerBoundfor more details.
Enums§
- Precision
- A statistic has a precision ExactorInexact. This represents uncertainty in that value. Exact values are computed, where can inexact values are likely inferred from compute functions.
- Stat
Constants§
- PRUNING_STATS 
- Statistics that are used for pruning files (i.e., we want to ensure they are computed when compressing/writing). Sum is included for boolean arrays.
- STATS_TO_ WRITE 
- Stats to keep when serializing arrays to layouts
Traits§
- StatBound 
- StatBounddefines the operations that can be performed on a bound. The main bounds are Upper (e.g. max) and Lower (e.g. min).
- StatType 
- StatTypedefine the bound of a given statistic. (e.g.- Maxis an upper bound), this is used to extract the bound from a- Precisionvalue, (e.g.- p::bound<Max>()).
- StatsProvider 
- StatsProvider Ext