Struct FilterPredicate
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§
§impl FilterPredicate
impl FilterPredicate
pub fn filter(&self, values: &dyn Array) -> Result<Arc<dyn Array>, ArrowError>
pub fn filter(&self, values: &dyn Array) -> Result<Arc<dyn Array>, ArrowError>
Selects rows from values based on this FilterPredicate
pub 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more