Expand description
Unified column encoding API with automatic encoder selection.
ColumnEncoder selects the best encoding for each column type and
transparently falls back to PlainEncoder when the
specialised encoder does not achieve at least 2× compression.
ColumnDecoder reads the EncodingType tag from an EncodedBlock
and dispatches to the correct decoder.
§Wire format
[encoding_type: u8]
[payload …]Structs§
- Column
Decoder - Unified column decoder that dispatches based on the
EncodingTypetag. - Column
Encoder - Unified column encoder that auto-selects the best encoding per column type.
- Encoded
Block - An encoded column block ready to be written to a segment.
Enums§
- Decoded
Column - Typed column values returned by
ColumnDecoder. - Encoding
Type - Discriminant tag stored as the first byte of every
EncodedBlock. - Timestamp
Encoding - Which codec
ColumnEncoder::encode_timestamps_withshould use.