Expand description
Traits and utilities to compute and access array statistics.
Modules§
Structs§
- Array
Stats - A shared
StatsSet
stored in an array. Can be shared by copies of the array and can also be mutated in place. - IsConstant
- IsSorted
- IsStrict
Sorted - Lower
Bound - 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
Precision
value. They tie together the Stat and the StatBound, which allows the bound to be extracted. - Min
- NaNCount
- Null
Count - Stats
Set - Stats
SetInto Iter - Owned iterator over the stats.
- Stats
SetRef - Reference to an array’s
StatsSet
. Can be used to get and mutate the underlying stats. - Sum
- Uncompressed
Size InBytes - Upper
Bound - Interpret the value as an upper bound, see
LowerBound
for more details.
Enums§
- Precision
- A statistic has a precision
Exact
orInexact
. 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.
Traits§
- Stat
Bound StatBound
defines the operations that can be performed on a bound. The main bounds are Upper (e.g. max) and Lower (e.g. min).- Stat
Type StatType
define the bound of a given statistic. (e.g.Max
is an upper bound), this is used to extract the bound from aPrecision
value, (e.g.p::bound<Max>()
).- Stats
Provider - Stats
Provider Ext