Skip to main content

BetweenReduce

Trait BetweenReduce 

Source
pub trait BetweenReduce: VTable {
    // Required method
    fn between(
        array: ArrayView<'_, Self>,
        lower: &ArrayRef,
        upper: &ArrayRef,
        options: &BetweenOptions,
    ) -> VortexResult<Option<ArrayRef>>;
}
Expand description

Reduce rule for between: restructure the array without reading buffers.

Returns Ok(None) if the rule doesn’t apply or buffer access is needed.

Required Methods§

Source

fn between( array: ArrayView<'_, Self>, lower: &ArrayRef, upper: &ArrayRef, options: &BetweenOptions, ) -> VortexResult<Option<ArrayRef>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl BetweenReduce for Constant

Source§

fn between( array: ArrayView<'_, Constant>, lower: &ArrayRef, upper: &ArrayRef, options: &BetweenOptions, ) -> VortexResult<Option<ArrayRef>>

Source§

impl BetweenReduce for Widen

Source§

fn between( array: ArrayView<'_, Self>, lower: &ArrayRef, upper: &ArrayRef, options: &BetweenOptions, ) -> VortexResult<Option<ArrayRef>>

Implementors§