Skip to main content

Module aggregate_state

Module aggregate_state 

Source

Structs§

AggregateStateSchema
Validated aggregate kind and ordered component layout.
AggregateStateValues
Values for all accumulator components at one field and grid position.
HistogramState
One position’s native-histogram accumulator: its live histogram, the compensation that carries the same bucket layout, and the evidence bits a merge records.
StateFieldsBatch
Columnar state fields retained in Arrow form so consumers can read component values in place. Null items are field-local holes, not zero-valued states.
StateSeries
A group-labelled sparse aggregate-state chunk on a shared time axis.

Enums§

AggregateStateKind
Aggregate whose accumulator is represented by a state frame.
StateComponent
One named accumulator column.
StatePayload
One grid position’s aggregate state: numeric components, or a native-histogram payload.

Functions§

bucket_indices 🔒
The logical bucket indices one side’s spans expand to, in ascending order.
check_layout 🔒
Compares the layout a merge reads, not the wire encoding: span lists that spell the same buckets differently agree, because what the kernel indexes is the expanded bucket index.
invalid 🔒
invalid_series 🔒
same_bounds 🔒
single_histogram 🔒
The single histogram a state component carries, or an error naming the violation.