pub struct FilterPredicate {
filter: BooleanArray,
count: usize,
strategy: IterationStrategy,
}
Expand description
A filtering predicate that can be applied to an [Array
]
Fields§
§filter: BooleanArray
§count: usize
§strategy: IterationStrategy
Implementations§
Source§impl FilterPredicate
impl FilterPredicate
Sourcepub fn filter(&self, values: &dyn Array) -> Result<ArrayRef, ArrowError>
pub fn filter(&self, values: &dyn Array) -> Result<ArrayRef, ArrowError>
Selects rows from values
based on this FilterPredicate
Sourcepub fn count(&self) -> usize
pub fn count(&self) -> usize
Number of rows being selected based on this FilterPredicate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FilterPredicate
impl RefUnwindSafe for FilterPredicate
impl Send for FilterPredicate
impl Sync for FilterPredicate
impl Unpin for FilterPredicate
impl UnwindSafe for FilterPredicate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more