Expand description
Unified compression codec enumeration.
Provides a unified interface for selecting and using compression codecs based on data type and characteristics.
§Supported Codecs
| Codec | Best For | Compression |
|---|---|---|
| None | Small data, random access | 1x |
| Delta | Sorted integers | 2-10x |
| DeltaBitPacked | Sorted integers with small deltas | 5-20x |
| BitPacked | Small integers | 2-16x |
| Dictionary | Strings with low cardinality | 2-50x |
| BitVector | Booleans | 8x |
| RunLength | Highly repetitive data | 2-100x |
Structs§
- Codec
Selector - Automatic codec selection based on data characteristics.
- Compressed
Data - Compressed data container.
- Type
Specific Compressor - Compressor that handles all supported data types.
Enums§
- Compression
Codec - Compression codec identifier.
- Compression
Metadata - Metadata needed for decompression.