Module stats

Source
Expand description

Traits and utilities to compute and access array statistics.

Modules§

flatbuffers

Structs§

ArrayStats
A shared StatsSet stored 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 Precision value. They tie together the Stat and the StatBound, which allows the bound to be extracted.
Min
NaNCount
NullCount
StatsSet
StatsSetIntoIter
Owned iterator over the stats.
StatsSetRef
Reference to an array’s StatsSet. Can be used to get and mutate the underlying stats.
Sum
UncompressedSizeInBytes
UpperBound
Interpret the value as an upper bound, see LowerBound for more details.

Enums§

Precision
A statistic has a precision Exact or Inexact. 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§

StatBound
StatBound defines the operations that can be performed on a bound. The main bounds are Upper (e.g. max) and Lower (e.g. min).
StatType
StatType define the bound of a given statistic. (e.g. Max is an upper bound), this is used to extract the bound from a Precision value, (e.g. p::bound<Max>()).
StatsProvider
StatsProviderExt

Functions§

as_stat_bitset_bytes
stats_from_bitset_bytes