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§

source

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations.

See: BinaryBooleanFn.

source

fn binary_numeric_fn(&self) -> Option<&dyn BinaryNumericFn<ArrayData>>

Implementation of binary numeric operations.

See: BinaryNumericFn.

source

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.

source

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays.

See: CompareFn.

source

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.

source

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable

See: FillNullFn

source

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask.

See: FilterFn.

source

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null.

See InvertFn

source

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays.

See: LikeFn.

source

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays.

See: ScalarAtFn.

source

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array.

See: SearchSortedFn.

source

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array.

See: SearchSortedUsizeFn.

source

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array.

See: SliceFn.

source

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of the receiver.

See: TakeFn.

Implementors§