Trait vortex_array::compute::CompareFn

source ·
pub trait CompareFn<Array> {
    // Required method
    fn compare(
        &self,
        lhs: &Array,
        rhs: &ArrayData,
        operator: Operator,
    ) -> VortexResult<Option<ArrayData>>;
}

Required Methods§

source

fn compare( &self, lhs: &Array, rhs: &ArrayData, operator: Operator, ) -> VortexResult<Option<ArrayData>>

Compares two arrays and returns a new boolean array with the result of the comparison. Or, returns None if comparison is not supported for these arrays.

Implementors§