Trait FilterKernel

Source
pub trait FilterKernel: Encoding {
    // Required method
    fn filter(&self, array: &Self::Array, mask: &Mask) -> VortexResult<ArrayRef>;
}

Required Methods§

Source

fn filter(&self, array: &Self::Array, mask: &Mask) -> VortexResult<ArrayRef>

Filter an array by the provided predicate.

Note that the entry-point filter functions handles Mask::AllTrue and Mask::AllFalse, leaving only Mask::Values to be handled by this function.

Implementors§