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.

Modulesยง

bytes_container ๐Ÿ”’
A [u8]-specialized container.
dictionary ๐Ÿ”’
A Row-specialized container using dictionary compression.
offset_opt ๐Ÿ”’
row_codec ๐Ÿ”’
Traits abstracting the processes of encoding and decoding row-encoded byte sequences.
spines ๐Ÿ”’
Spines specialized to contain Row types in keys and values.

Structsยง

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.

Functionsยง

offset_list_size ๐Ÿ”’
Helper to compute the size of an OffsetList in memory.

Type Aliasesยง

RowBatcher
RowBuilder
RowRowBatcher
RowRowBuilder
RowRowColPagedBuilder
RowRowBuilder variant that consumes Column chunks. Pairs with Col2ValPagedBatcher for the spillable arrange path. This is the stock (non-dictionary) builder; dictionary-compressing the paged path is a follow-up.
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.
ValRowSpine