Skip to main content

Module builtins

Module builtins 

Source
Expand description

Built-in compression schemes that use only vortex-array encodings.

These schemes produce arrays using types already in vortex-array (ConstantArray, DictArray, MaskedArray, etc.) and have no external encoding crate dependencies.

Structs§

BinaryConstantScheme
Constant encoding for binary arrays with a single distinct value.
BinaryDictScheme
Dictionary encoding for low-cardinality binary values.
BoolConstantScheme
Constant encoding for bool arrays where all valid values are the same.
FloatConstantScheme
Constant encoding for float arrays with a single distinct value.
FloatDictScheme
Dictionary encoding for low-cardinality float values.
IntConstantScheme
Constant encoding for integer arrays with a single distinct value.
IntDictScheme
Dictionary encoding for low-cardinality integer values.
StringConstantScheme
Constant encoding for string arrays with a single distinct value.
StringDictScheme
Dictionary encoding for low-cardinality string values.

Functions§

float_dictionary_encode
Compresses a floating-point array into a dictionary array according to attached stats.
integer_dictionary_encode
Compresses an integer array into a dictionary array according to attached stats.