pub struct AndPredicate { /* private fields */ }Expand description
Composite predicate combining multiple predicates with AND.
Implementations§
Source§impl AndPredicate
impl AndPredicate
Sourcepub fn new(predicates: Vec<Box<dyn FactorizedPredicate>>) -> Self
pub fn new(predicates: Vec<Box<dyn FactorizedPredicate>>) -> Self
Creates a new AND predicate.
Trait Implementations§
Source§impl FactorizedPredicate for AndPredicate
impl FactorizedPredicate for AndPredicate
Source§fn evaluate(
&self,
chunk: &FactorizedChunk,
level: usize,
physical_idx: usize,
) -> bool
fn evaluate( &self, chunk: &FactorizedChunk, level: usize, physical_idx: usize, ) -> bool
Evaluates the predicate for a single physical index at a level. Read more
Source§fn target_level(&self) -> Option<usize>
fn target_level(&self) -> Option<usize>
Returns the level this predicate operates on. Read more
Source§fn evaluate_batch(
&self,
chunk: &FactorizedChunk,
level: usize,
) -> LevelSelection
fn evaluate_batch( &self, chunk: &FactorizedChunk, level: usize, ) -> LevelSelection
Evaluates the predicate for all physical indices at a level. Read more
Auto Trait Implementations§
impl Freeze for AndPredicate
impl !RefUnwindSafe for AndPredicate
impl Send for AndPredicate
impl Sync for AndPredicate
impl Unpin for AndPredicate
impl !UnwindSafe for AndPredicate
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