Skip to main content

Module sparse_tile

Module sparse_tile 

Source
Expand description

Sparse tile payload — coordinate list + per-attribute columns.

Storage layout is column-major so per-attribute codecs (nodedb-codec) can be applied without a transpose. Dimension values are dictionary-encoded inline: rare in genomic / single-cell workloads that have many repeats per tile.

Structs§

DimDict
Per-dim dictionary: distinct values seen, and one index per cell pointing into the dictionary. Index width is selected by callers when picking the codec.
SparseRow
All row-level data passed to SparseTileBuilder::push_row.
SparseTile
Sparse tile payload.
SparseTileBuilder
Streaming builder. Folds (coord, attrs) pairs into the tile body and the MBR in one pass.

Enums§

RowKind
Per-row lifecycle classification for a SparseTile row.