Module arrays

Source
Expand description

All the built-in encoding schemes and arrays.

Modules§

builder
compute

Structs§

BoolArray
A boolean array that stores true/false values in a compact bit-packed format.
BoolEncoding
BoolVTable
BooleanBuffer
A slice-able Buffer containing bit-packed booleans
BooleanBufferBuilder
Builder for BooleanBuffer
ChunkedArray
ChunkedEncoding
ChunkedVTable
ConstantArray
ConstantEncoding
ConstantVTable
DecimalArray
A decimal array that stores fixed-precision decimal numbers with configurable scale.
DecimalEncoding
DecimalVTable
ExtensionArray
An extension array that wraps another array with additional type information.
ExtensionEncoding
ExtensionVTable
Inlined
ListArray
A list array that stores variable-length lists of elements, similar to Vec<Vec<T>>.
ListEncoding
ListVTable
NativeValue
NativeValue serves as a wrapper type to allow us to implement Hash and Eq 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
Ref
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

Constants§

IS_CONST_LANE_WIDTH

Traits§

BooleanBufferExt
OffsetPType

Functions§

compatible_storage_type
True if value_type can represent every value of the type dtype.
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.
compute_min_max
Compute the min and max of VarBin like array.
smallest_storage_type
Maps a decimal precision into the smallest type that can represent it.
varbin_scalar

Unions§

BinaryView