Skip to main content

Module arrays

Module arrays 

Source
Expand description

All the built-in encoding schemes and arrays.

Modules§

arbitrary
build_views
builder
dict_test
vtable

Structs§

AnyScalarFn
A matcher that matches any scalar function expression.
ArbitraryConstantArray
A wrapper type to implement Arbitrary for ConstantArray.
ArbitraryDictArray
A wrapper type to implement Arbitrary for DictArray.
BoolArray
A boolean array that stores true/false values in a compact bit-packed format.
BoolArrayParts
BoolMaskedValidityRule
Rule to push down validity masking from MaskedArray parent into BoolArray child.
BoolVTable
ChunkedArray
ChunkedVTable
ConstantArray
ConstantVTable
DecimalArray
A decimal array that stores fixed-precision decimal numbers with configurable scale.
DecimalArrayParts
DecimalMaskedValidityRule
Rule to push down validity masking from MaskedArray parent into DecimalArray child.
DecimalVTable
DictArray
DictArrayParts
DictMetadata
DictVTable
ExactScalarFn
A matcher that matches a specific scalar function expression.
ExtensionArray
An extension array that wraps another array with additional type information.
ExtensionVTable
FilterArray
A lazy array that represents filtering a child array by a boolean Mask.
FilterArrayParts
Decomposed parts of the filter array.
FilterExecuteAdaptor
FilterReduceAdaptor
FilterVTable
FixedSizeListArray
The canonical encoding for fixed-size list arrays.
FixedSizeListVTable
Inlined
Variant of a BinaryView that holds an inlined value.
ListArray
A list array that stores variable-length lists of elements, similar to Vec<Vec<T>>.
ListArrayParts
ListVTable
ListViewArray
The canonical encoding for variable-length list arrays.
ListViewArrayParts
ListViewVTable
MaskedArray
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.
NullVTable
PrimitiveArray
A primitive array that stores native types in a contiguous buffer of memory, along with an optional validity child.
PrimitiveArrayParts
PrimitiveMaskedValidityRule
Rule to push down validity masking from MaskedArray parent into PrimitiveArray child.
PrimitiveVTable
Ref
Variant of a BinaryView that holds a reference to an external buffer.
ScalarFnArray
ScalarFnArrayView
ScalarFnVTable
SharedArray
SharedVTable
SliceArray
SliceArrayParts
SliceExecuteAdaptor
SliceMetadata
SliceReduceAdaptor
SliceVTable
StructArray
A struct array that stores multiple named fields as columns, similar to a database row.
StructArrayParts
StructVTable
TakeExecuteAdaptor
TakeReduceAdaptor
TemporalArray
An array wrapper for primitive values that have an associated temporal meaning.
VarBinArray
VarBinVTable
VarBinViewArray
A variable-length binary view array that stores strings and binary data efficiently.
VarBinViewArrayParts
VarBinViewVTable

Enums§

ListViewRebuildMode
Modes for rebuilding a ListViewArray.

Constants§

IS_CONST_LANE_WIDTH

Traits§

FilterKernel
FilterReduce
ScalarFnArrayExt
Array factory functions for scalar functions.
SliceKernel
SliceReduce
TakeExecute
TakeReduce

Functions§

chunk_range
Computes the index range for a chunk, accounting for slice offset.
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.
format_indices
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.
mask_validity_canonical
TODO: replace usage of compute fn. Apply a validity mask to a canonical array, ANDing with existing validity.
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.
take_canonical
Take from a canonical array using indices (codes), returning a new canonical array.
varbin_scalar

Unions§

BinaryView
A view over a variable-length binary value.