pub trait FilterFn<A> {
// Required method
fn filter(&self, array: A, mask: &Mask) -> VortexResult<ArrayRef>;
}
Required Methods§
Sourcefn filter(&self, array: A, mask: &Mask) -> VortexResult<ArrayRef>
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.