Trait ComputeVTable

Source
pub trait ComputeVTable {
Show 14 methods // Provided methods fn fill_null_fn(&self) -> Option<&dyn FillNullFn<&dyn Array>> { ... } fn is_constant_fn(&self) -> Option<&dyn IsConstantFn<&dyn Array>> { ... } fn is_sorted_fn(&self) -> Option<&dyn IsSortedFn<&dyn Array>> { ... } fn like_fn(&self) -> Option<&dyn LikeFn<&dyn Array>> { ... } fn min_max_fn(&self) -> Option<&dyn MinMaxFn<&dyn Array>> { ... } fn optimize_fn(&self) -> Option<&dyn OptimizeFn<&dyn Array>> { ... } fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<&dyn Array>> { ... } fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<&dyn Array>> { ... } fn search_sorted_usize_fn( &self, ) -> Option<&dyn SearchSortedUsizeFn<&dyn Array>> { ... } fn slice_fn(&self) -> Option<&dyn SliceFn<&dyn Array>> { ... } fn take_fn(&self) -> Option<&dyn TakeFn<&dyn Array>> { ... } fn take_from_fn(&self) -> Option<&dyn TakeFromFn<&dyn Array>> { ... } fn to_arrow_fn(&self) -> Option<&dyn ToArrowFn<&dyn Array>> { ... } fn uncompressed_size_fn( &self, ) -> Option<&dyn UncompressedSizeFn<&dyn Array>> { ... }
}
Expand description

VTable for dispatching compute functions to Vortex encodings.

Provided Methods§

Source

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

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

See: FillNullFn

Source

fn is_constant_fn(&self) -> Option<&dyn IsConstantFn<&dyn Array>>

Checks if an array is constant.

See IsConstantFn

Source

fn is_sorted_fn(&self) -> Option<&dyn IsSortedFn<&dyn Array>>

Source

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

Perform a SQL LIKE operation on two arrays.

See: LikeFn.

Source

fn min_max_fn(&self) -> Option<&dyn MinMaxFn<&dyn Array>>

Compute the min, max of an array.

See: MinMaxFn.

Source

fn optimize_fn(&self) -> Option<&dyn OptimizeFn<&dyn Array>>

Try and optimize the layout of an array.

See: OptimizeFn

Source

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

Single item indexing on Vortex arrays.

See: ScalarAtFn.

Source

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

Perform a search over an ordered array.

See: SearchSortedFn.

Source

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

Perform a search over an ordered array.

See: SearchSortedUsizeFn.

Source

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

Perform zero-copy slicing of an array.

See: SliceFn.

Source

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

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

See: TakeFn.

Source

fn take_from_fn(&self) -> Option<&dyn TakeFromFn<&dyn Array>>

Source

fn to_arrow_fn(&self) -> Option<&dyn ToArrowFn<&dyn Array>>

Convert the array to an Arrow array of the given type.

See: ToArrowFn.

Source

fn uncompressed_size_fn(&self) -> Option<&dyn UncompressedSizeFn<&dyn Array>>

Approximates the uncompressed size of the array.

See UncompressedSizeFn

Implementors§