Skip to main content

BetweenKernel

Trait BetweenKernel 

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

Execute kernel for between: perform the actual between check, potentially reading buffers.

Returns Ok(None) if this kernel cannot handle the given inputs.

Required Methods§

Source

fn between( array: ArrayView<'_, Self>, lower: &ArrayRef, upper: &ArrayRef, options: &BetweenOptions, ctx: &mut ExecutionCtx, ) -> 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 BetweenKernel for Decimal

Source§

fn between( arr: ArrayView<'_, Decimal>, lower: &ArrayRef, upper: &ArrayRef, options: &BetweenOptions, ctx: &mut ExecutionCtx, ) -> VortexResult<Option<ArrayRef>>

Source§

impl BetweenKernel for Primitive

Source§

fn between( arr: ArrayView<'_, Primitive>, lower: &ArrayRef, upper: &ArrayRef, options: &BetweenOptions, ctx: &mut ExecutionCtx, ) -> VortexResult<Option<ArrayRef>>

Implementors§