Skip to main content

Crate mz_row_spine

Crate mz_row_spine 

Source
Expand description

Packed-bytes differential dataflow spine Layouts for Row-valued arrangements.

The spines defined here store Row keys and values as concatenated bytes in a single contiguous backing region (via mz_ore::region::Region, which uses lgalloc when available), instead of as separately-allocated heap objects. This gives cursor lookups block locality and lets the OS evict cold pages cleanly under memory pressure.

Modulesยง

bytes_container ๐Ÿ”’
container ๐Ÿ”’
A Row-specialized container using dictionary compression.
offset_opt ๐Ÿ”’
spines ๐Ÿ”’
Spines specialized to contain Row types in keys and values.

Structsยง

DatumContainer
Container wrapping BytesContainer that traffics only in Row-formatted bytes.
DatumSeq
OffsetOptimized

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.
RowRowSpine
RowSpine
RowValBatcher
RowValBuilder
RowValSpine
ValRowBatcher
ValRowBuilder
ValRowSpine