struct BoolVecBuilder {
inner: Vec<bool>,
}Expand description
Builds the return Vec for PruningPredicate::prune.
Fields§
§inner: Vec<bool>One element per container. Each element is
true: if the container has row that may pass the predicatefalse: if the container has rows that DEFINITELY DO NOT pass the predicate
Implementations§
Source§impl BoolVecBuilder
impl BoolVecBuilder
Sourcefn combine_array(&mut self, array: &BooleanArray)
fn combine_array(&mut self, array: &BooleanArray)
Combines result array for a conjunct (e.g. AND clause) of a
predicate into the currently in progress array.
Each array element is:
true: container has row that may pass the predicatefalse: all container rows DEFINITELY DO NOT pass the predicatenull: container may or may not have rows that pass the predicate
Sourcefn combine_value(&mut self, value: ColumnarValue)
fn combine_value(&mut self, value: ColumnarValue)
Combines the results in the [ColumnarValue] to the currently in
progress array, following the same rules as Self::combine_array.
§Panics
If value is not boolean
Sourcefn check_all_pruned(&self) -> bool
fn check_all_pruned(&self) -> bool
Check all containers has rows that DEFINITELY DO NOT pass the predicate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoolVecBuilder
impl RefUnwindSafe for BoolVecBuilder
impl Send for BoolVecBuilder
impl Sync for BoolVecBuilder
impl Unpin for BoolVecBuilder
impl UnwindSafe for BoolVecBuilder
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