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: IterationStrategyImplementations§
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 filter_record_batch(
    &self,
    record_batch: &RecordBatch,
) -> Result<RecordBatch, ArrowError>
 
pub fn filter_record_batch( &self, record_batch: &RecordBatch, ) -> Result<RecordBatch, ArrowError>
Returns a filtered [RecordBatch] containing only the rows that are selected by this
FilterPredicate.
This is the equivalent of calling filter on each column of the [RecordBatch].
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