vortex_array::compute

Trait 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§