Trait FilterFn

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

Required Methods§

Source

fn filter(&self, array: A, 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§