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Β§
- arc_
batch π - An
Arc-backed batch newtype whose contents can be shared across timely runtimes. - 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
Rowtypes in keys and values.
StructsΒ§
- ArcBatch
- An
Arc-backed batch, shareable across threads whenBβs contents areSend + Sync. - ArcBuilder
- Builds
ArcBatches, delegating to the inner batchβs builder. - Datum
Container - Datum
Seq - A reference that can be resolved to a sequence of
Datums. - Offset
Optimized
StaticsΒ§
- DICTIONARY_
COMPRESSION - Enable per-column dictionary compression in row containers.
FunctionsΒ§
- offset_
list_ πsize - Helper to compute the size of an
OffsetListin memory.
Type AliasesΒ§
- ArcOrd
KeyBuilder - Builder pairing with
ArcOrdKeySpine. - ArcOrd
KeySpine - Generic
Arc-backed key-only spine. SeeArcOrdValSpine. - ArcOrd
ValBuilder - Builder pairing with
ArcOrdValSpine. - ArcOrd
ValSpine - A generic
Arc-backed key/value spine, for callers outsidemz_computethat need an arrangement over non-Row-specialized types. TheArchandle rides on the localArcBatchnewtype, so no differential-sideArcbatch impls are required. - RowBatcher
- RowBuilder
- RowRow
Batcher - RowRow
Builder - RowRow
ColPaged Builder RowRowBuildervariant that consumesColumnchunks. Pairs withCol2ValPagedBatcherfor the spillable arrange path. Installs a dictionary codec at seal time, gathering statistics from the sealedColumnchain, so paged arrangements compress on the same footing as the columnation-fedRowRowBuilder.- RowRow
Spine - RowSpine
- RowVal
Batcher - RowVal
Builder - RowVal
Spine - ValRow
Batcher - ValRow
Builder - ValRow
ColPaged Builder ValRowBuildervariant that consumesColumnchunks. Pairs withCol2ValPagedBatcher<K, Row, T, R>for the spillable arrange path where keys are arbitraryColumnarvalues (e.g.UpsertKey) and values are packedRowbytes. Installs a dictionary codec on the value container at seal time, gathering statistics from the sealedColumnchain; keys are notRow-shaped and so are left uncompressed.- ValRow
Spine