Expand description
Zstd-backed compression encodings for variable-width Vortex arrays.
ZstdArray stores UTF-8 or binary values as one or more zstd frames, optionally sharing a
trained dictionary across frames. Frame metadata lets slices decompress only the frames that can
contribute values to the requested row range.
With the unstable_encodings feature, ZstdBuffers stores the buffers of another encoding as
independently compressed zstd buffers while preserving the inner encoding metadata.
This crate exposes array encodings only. Compression scheme selection is wired through
vortex-btrblocks and file writing. To deserialize arrays manually, register the encoding in the
array session:
use vortex_array::session::ArraySessionExt;
let session = vortex_array::array_session();
session.arrays().register(vortex_zstd::Zstd);Structs§
- Zstd
- Zstd array encoding marker.
- Zstd
Buffers - Encoding marker for buffer-level zstd compression.
- Zstd
Buffers Data - An encoding that ZSTD-compresses the buffers of any wrapped array.
- Zstd
Buffers Decode Plan - Decode plan for buffer-level zstd decompression.
- Zstd
Buffers Metadata - Serialized metadata for the unstable
ZstdBuffersencoding. - Zstd
Data - Encoding-specific data for a
ZstdArray. - Zstd
Data Parts - Movable parts of a
ZstdDatavalue plus its validity. - Zstd
Frame Metadata - Metadata for one zstd frame.
- Zstd
Metadata - Serialized metadata for a
ZstdArray.
Functions§
- reconstruct_
views - Reconstruct BinaryView structs from length-prefixed byte data.
Type Aliases§
- Zstd
Array - A
Zstd-encoded Vortex array. - Zstd
Buffers Array - A
ZstdBuffers-encoded Vortex array.