Skip to main content

Crate mz_row_spine

Crate mz_row_spine 

Source
Expand description

Types and traits in support of containers for row-encoded byte slices.

This includes the vanilla bytes_container that holds byte slices in contiguous allocations, as well as a dictionary encoding wrapper that is able to rewrite the byte slices to use spare tags in each column to reference common values.

Structs§

ArcBatch
An Arc-backed batch, shareable across threads when B’s contents are Send + Sync.
ArcBuilder
Builds ArcBatches, delegating to the inner batch’s builder.
DatumContainer
DatumSeq
A reference that can be resolved to a sequence of Datums.
OffsetOptimized

Statics§

DICTIONARY_COMPRESSION
Enable per-column dictionary compression in row containers.

Type Aliases§

ArcOrdKeyBuilder
Builder pairing with ArcOrdKeySpine.
ArcOrdKeySpine
Generic Arc-backed key-only spine. See ArcOrdValSpine.
ArcOrdValBuilder
Builder pairing with ArcOrdValSpine.
ArcOrdValSpine
A generic Arc-backed key/value spine, for callers outside mz_compute that need an arrangement over non-Row-specialized types. The Arc handle rides on the local ArcBatch newtype, so no differential-side Arc batch impls are required.
RowBatcher
RowBuilder
RowRowBatcher
RowRowBuilder
RowRowColPagedBuilder
RowRowBuilder variant that consumes Column chunks. Pairs with any batcher whose chains are Columns, spillable (Col2ValPagedBatcher) or resident (Col2ValColBatcher) alike, so the Paged in the name records where it started rather than a restriction. Installs a dictionary codec at seal time, gathering statistics from the sealed Column chain, so columnar arrangements compress on the same footing as the columnation-fed RowRowBuilder.
RowRowSpine
RowSpine
RowValBatcher
RowValBuilder
RowValSpine
ValRowBatcher
ValRowBuilder
ValRowColPagedBuilder
ValRowBuilder variant that consumes Column chunks. Pairs with Col2ValPagedBatcher<K, Row, T, R> for the spillable arrange path where keys are arbitrary Columnar values (e.g. UpsertKey) and values are packed Row bytes. Installs a dictionary codec on the value container at seal time, gathering statistics from the sealed Column chain; keys are not Row-shaped and so are left uncompressed.
ValRowSpine