pub enum MirNodeKind {
BaseTable {
table: String,
project: Vec<ColumnRef>,
},
Filter {
predicate: String,
},
Project {
columns: Vec<String>,
},
Join {
kind: JoinKind,
on: Vec<(ColumnRef, ColumnRef)>,
},
Aggregate {
group_by: Vec<ColumnRef>,
aggs: Vec<AggExpr>,
},
Distinct,
Union {
quantifier: SetQuantifierKind,
},
Except {
quantifier: SetQuantifierKind,
},
Intersect {
quantifier: SetQuantifierKind,
},
TopK {
order_by: Vec<OrderKey>,
limit: usize,
offset: usize,
},
CteRef {
cte: String,
},
Leaf {
name: String,
},
}Variants§
BaseTable
Filter
Project
Join
Aggregate
Distinct
Union
Fields
§
quantifier: SetQuantifierKindExcept
Fields
§
quantifier: SetQuantifierKindIntersect
Fields
§
quantifier: SetQuantifierKindTopK
CteRef
Leaf
Trait Implementations§
Source§impl Clone for MirNodeKind
impl Clone for MirNodeKind
Source§fn clone(&self) -> MirNodeKind
fn clone(&self) -> MirNodeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MirNodeKind
impl Debug for MirNodeKind
impl Eq for MirNodeKind
Source§impl PartialEq for MirNodeKind
impl PartialEq for MirNodeKind
Source§fn eq(&self, other: &MirNodeKind) -> bool
fn eq(&self, other: &MirNodeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MirNodeKind
Auto Trait Implementations§
impl Freeze for MirNodeKind
impl RefUnwindSafe for MirNodeKind
impl Send for MirNodeKind
impl Sync for MirNodeKind
impl Unpin for MirNodeKind
impl UnsafeUnpin for MirNodeKind
impl UnwindSafe for MirNodeKind
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.