Module vortex_array::compute
source · 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§
- Represents the mask argument to a filter function. Internally this will cache the canonical representation of the mask if it is ever used.
- Options for SQL LIKE function
Enums§
- Result of performing search_sorted on an Array
Traits§
- VTable for dispatching compute functions to Vortex encodings.
- Trait for filling forward on an array, i.e., replacing nulls with the last non-null value.
- Implementation of fill_null for an encoding.
- Implementation of scalar_at for an encoding.
- Searches for value assuming the array is sorted.
- Limit array to start…stop range
Functions§
- Point-wise add two numeric arrays.
- Point-wise add a scalar value to this array on the right-hand-side.
- Point-wise logical and between two Boolean arrays.
- Point-wise Kleene logical and between two Boolean arrays.
- Point-wise divide two numeric arrays.
- Point-wise divide a scalar value into this array on the right-hand-side.
- Return a new array by applying a boolean predicate to select items from a base Array.
- Logically invert a boolean array.
- Perform SQL left LIKE right
- Point-wise multiply two numeric arrays.
- Point-wise multiply a scalar value into this array on the right-hand-side.
- Point-wise logical or between two Boolean arrays.
- Point-wise Kleene logical or between two Boolean arrays.
- Search for many elements in the array.
- Return a zero-copy slice of an array, between
start
(inclusive) andend
(exclusive). - Point-wise subtract two numeric arrays.
- Point-wise subtract a scalar value from this array on the right-hand-side.
- Attempt to cast an array to a desired DType.