Module arrays

Module arrays 

Source
Expand description

All the built-in encoding schemes and arrays.

Modules§

arbitrary
builder
compute
dict_test

Structs§

BoolArray
A boolean array that stores true/false values in a compact bit-packed format.
BoolEncoding
BoolVTable
ChunkedArray
ChunkedEncoding
ChunkedVTable
ConstantArray
ConstantEncoding
ConstantVTable
DecimalArray
A decimal array that stores fixed-precision decimal numbers with configurable scale.
DecimalEncoding
DecimalVTable
DictArray
DictEncoding
DictVTable
ExtensionArray
An extension array that wraps another array with additional type information.
ExtensionEncoding
ExtensionVTable
FixedSizeListArray
The canonical encoding for fixed-size list arrays.
FixedSizeListEncoding
FixedSizeListVTable
ListArray
A list array that stores variable-length lists of elements, similar to Vec<Vec<T>>.
ListEncoding
ListVTable
ListViewArray
The canonical encoding for variable-length list arrays.
ListViewEncoding
ListViewVTable
MaskedArray
MaskedEncoding
MaskedVTable
NativeValue
NativeValue serves as a wrapper type to allow us to implement Hash, Eq and other traits on all primitive types.
NullArray
A array where all values are null.
NullEncoding
NullVTable
PrimitiveArray
A primitive array that stores native types in a contiguous buffer of memory, along with an optional validity child.
PrimitiveEncoding
PrimitiveVTable
StructArray
A struct array that stores multiple named fields as columns, similar to a database row.
StructEncoding
StructVTable
TemporalArray
An array wrapper for primitive values that have an associated temporal meaning.
VarBinArray
VarBinEncoding
VarBinVTable
VarBinViewArray
A variable-length binary view array that stores strings and binary data efficiently.
VarBinViewEncoding
VarBinViewVTable

Enums§

ListViewRebuildMode
Modes for rebuilding a ListViewArray.

Constants§

IS_CONST_LANE_WIDTH

Functions§

compute_is_constant
Assumes any floating point has been cast into its bit representation for which != and !is_eq are the same Assumes there’s at least 1 value in the slice, which is an invariant of the entry level function.
list_from_list_view
Creates a ListArray from a ListViewArray. The resulting ListArray will not have any leading or trailing garbage data.
list_view_from_list
Creates a ListViewArray from a ListArray by computing sizes from offsets.
narrowed_decimal
Attempt to narrow the decimal array to any smaller supported type.
patch_chunk
Patches a chunk of decoded values.
recursive_list_from_list_view
Recursively converts all ListViewArrays to ListArrays in a nested array structure.
varbin_scalar