Skip to main content

Module column

Module column 

Source
Expand description

Columnar storage — typed vectors, one per column.

Each column is a contiguous typed buffer. Aggregation scans a single Vec<f64> — no pointer chasing, no skipping over unrelated fields. This is the same storage model used by Apache Arrow and DuckDB.

Structs§

FloatKey
Wrapper for f64 that provides total ordering (for BTreeMap keys). NaN sorts last, consistent with IEEE 754 totalOrder.

Enums§

Column
A single typed column of data.
ColumnKeyRef
Borrowed group key — zero-copy reference into column data. Used for BTreeMap lookups without per-row allocation.
GroupKey
Owned group key — used for storing unique group values.