pub enum FilterNode {
Compare {
column: String,
op: FilterOp,
value: FilterLiteral,
},
And(Box<FilterNode>, Box<FilterNode>),
Or(Box<FilterNode>, Box<FilterNode>),
Not(Box<FilterNode>),
}Expand description
Filter expression tree for SQL pushdown. Built from ExprProxy comparisons and logical operations.
Variants§
Compare
Column compared to a literal value
And(Box<FilterNode>, Box<FilterNode>)
Logical AND of two filter nodes
Or(Box<FilterNode>, Box<FilterNode>)
Logical OR of two filter nodes
Not(Box<FilterNode>)
Logical NOT of a filter node
Trait Implementations§
Source§impl Clone for FilterNode
impl Clone for FilterNode
Source§fn clone(&self) -> FilterNode
fn clone(&self) -> FilterNode
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 FilterNode
impl Debug for FilterNode
Source§impl PartialEq for FilterNode
impl PartialEq for FilterNode
impl StructuralPartialEq for FilterNode
Auto Trait Implementations§
impl Freeze for FilterNode
impl RefUnwindSafe for FilterNode
impl Send for FilterNode
impl Sync for FilterNode
impl Unpin for FilterNode
impl UnsafeUnpin for FilterNode
impl UnwindSafe for FilterNode
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