Expand description
Compute kernels on top of Vortex Arrays.
We aim to provide a basic set of compute kernels that can be used to efficiently index, slice, and filter Vortex Arrays in their encoded forms.
Every array variant has the ability to implement their own efficient implementations of these operators, else we will decode, and perform the equivalent operator from Arrow.
Structs§
- Filter
Mask - Represents the mask argument to a filter function.
- Like
Options - Options for SQL LIKE function
Enums§
- Binary
Operator - Filter
Iter - Operator
- Search
Result - Result of performing search_sorted on an Array
- Search
Sorted Side
Traits§
- Binary
Boolean Fn - Binary
Numeric Fn - CastFn
- Compare
Fn - ComputeV
Table - VTable for dispatching compute functions to Vortex encodings.
- Fill
Forward Fn - Trait for filling forward on an array, i.e., replacing nulls with the last non-null value.
- Fill
Null Fn - Implementation of fill_null for an encoding.
- Filter
Fn - Index
Ord - Invert
Fn - Len
- LikeFn
- Scalar
AtFn - Implementation of scalar_at for an encoding.
- Search
Sorted - Search
Sorted Fn - Searches for value assuming the array is sorted.
- Search
Sorted Usize Fn - SliceFn
- Limit array to start…stop range
- TakeFn
Functions§
- add
- Point-wise add two numeric arrays.
- add_
scalar - Point-wise add a scalar value to this array on the right-hand-side.
- and
- Point-wise logical and between two Boolean arrays.
- and_
kleene - Point-wise Kleene logical and between two Boolean arrays.
- binary_
boolean - binary_
numeric - compare
- div
- Point-wise divide two numeric arrays.
- div_
scalar - Point-wise divide a scalar value into this array on the right-hand-side.
- fill_
forward - fill_
null - filter
- Return a new array by applying a boolean predicate to select items from a base Array.
- invert
- Logically invert a boolean array.
- like
- Perform SQL left LIKE right
- mul
- Point-wise multiply two numeric arrays.
- mul_
scalar - Point-wise multiply a scalar value into this array on the right-hand-side.
- or
- Point-wise logical or between two Boolean arrays.
- or_
kleene - Point-wise Kleene logical or between two Boolean arrays.
- scalar_
at - scalar_
cmp - search_
sorted - search_
sorted_ many - Search for many elements in the array.
- search_
sorted_ usize - search_
sorted_ usize_ many - slice
- Return a zero-copy slice of an array, between
start
(inclusive) andend
(exclusive). - sub
- Point-wise subtract two numeric arrays.
- sub_
scalar - Point-wise subtract a scalar value from this array on the right-hand-side.
- take
- try_
cast - Attempt to cast an array to a desired DType.