Skip to main content

Module builders

Module builders 

Source
Expand description

Wrapper types that exist to support the creation of dictionary codecs.

These types interpose at the seal() call, to traverse the data that is being sealed and then construct codecs that are used to encode the row-shaped keys and values. There are several variants, corresponding to the RowRow, RowVal, and Row-only spine types.

Structs§

RowBuilder
RowRowBuilder
RowRowColPagedBuilder
Paged counterpart of RowRowBuilder that consumes Column chunks instead of columnation stacks. Mirrors RowRowBuilder::seal: it gathers key and value statistics from the sealed chain and installs codecs directly, then drops the per-container stats gatherer.
RowValBuilder
ValRowBuilder
Mirror of RowValBuilder with the roles swapped: arbitrary keys and Row values, so the dictionary codec is built for and installed on the value container.
ValRowColPagedBuilder
Paged counterpart of ValRowBuilder that consumes Column chunks. Keys are arbitrary Columnar values (not Row-shaped) and stay uncompressed; only the value container receives a codec.

Functions§

build_codec 🔒
Gather encoding statistics across rows and produce a codec from them.