Trait vortex_array::compute::ComputeVTable
source · pub trait ComputeVTable {
Show 14 methods
// Provided methods
fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>> { ... }
fn binary_numeric_fn(&self) -> Option<&dyn BinaryNumericFn<ArrayData>> { ... }
fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>> { ... }
fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>> { ... }
fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>> { ... }
fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>> { ... }
fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>> { ... }
fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>> { ... }
fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>> { ... }
fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>> { ... }
fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>> { ... }
fn search_sorted_usize_fn(
&self,
) -> Option<&dyn SearchSortedUsizeFn<ArrayData>> { ... }
fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>> { ... }
fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>> { ... }
}
Expand description
VTable for dispatching compute functions to Vortex encodings.
Provided Methods§
sourcefn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>
fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>
Implementation of binary boolean logic operations.
See: BinaryBooleanFn.
sourcefn binary_numeric_fn(&self) -> Option<&dyn BinaryNumericFn<ArrayData>>
fn binary_numeric_fn(&self) -> Option<&dyn BinaryNumericFn<ArrayData>>
Implementation of binary numeric operations.
See: BinaryNumericFn.
sourcefn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>
fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>
Implemented for arrays that can be casted to different types. Implemented for arrays that can be casted to different types.
See: CastFn.
sourcefn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>
fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>
Binary operator implementation for arrays against other arrays.
See: CompareFn.
sourcefn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>
fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>
Array function that returns new arrays a non-null value is repeated across runs of nulls.
See: FillForwardFn.
sourcefn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>
fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>
Fill null values with given desired value. Resulting array is NonNullable
See: FillNullFn
sourcefn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>
fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>
Filter an array with a given mask.
See: FilterFn.
sourcefn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>
fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>
Invert a boolean array. Converts true -> false, false -> true, null -> null.
See InvertFn
sourcefn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>
fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>
Perform a SQL LIKE operation on two arrays.
See: LikeFn.
sourcefn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>
fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>
Single item indexing on Vortex arrays.
See: ScalarAtFn.
sourcefn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>
fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>
Perform a search over an ordered array.
See: SearchSortedFn.
sourcefn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>
fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>
Perform a search over an ordered array.
See: SearchSortedUsizeFn.