pub enum PushedDown {
Yes,
No,
}Expand description
Discriminant for the result of pushing down a filter into a child node.
Variants§
Yes
The predicate was successfully pushed down into the child node.
No
The predicate could not be pushed down into the child node.
Implementations§
Source§impl PushedDown
impl PushedDown
Sourcepub fn and(self, other: PushedDown) -> PushedDown
pub fn and(self, other: PushedDown) -> PushedDown
Logical AND operation: returns Yes only if both operands are Yes.
Sourcepub fn or(self, other: PushedDown) -> PushedDown
pub fn or(self, other: PushedDown) -> PushedDown
Logical OR operation: returns Yes if either operand is Yes.
Sourcepub fn wrap_expression(self, expr: Arc<dyn PhysicalExpr>) -> PushedDownPredicate
pub fn wrap_expression(self, expr: Arc<dyn PhysicalExpr>) -> PushedDownPredicate
Wrap a PhysicalExpr with this pushdown result.
Trait Implementations§
Source§impl Clone for PushedDown
impl Clone for PushedDown
Source§fn clone(&self) -> PushedDown
fn clone(&self) -> PushedDown
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PushedDown
impl Debug for PushedDown
impl Copy for PushedDown
Auto Trait Implementations§
impl Freeze for PushedDown
impl RefUnwindSafe for PushedDown
impl Send for PushedDown
impl Sync for PushedDown
impl Unpin for PushedDown
impl UnwindSafe for PushedDown
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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