pub enum PhysicalOp {
Scan {
table: String,
filter: Option<Expr>,
projection: Vec<String>,
},
Filter {
input: Box<PhysicalOp>,
condition: Expr,
},
Projection {
input: Box<PhysicalOp>,
expressions: Vec<(Expr, String)>,
},
Sort {
input: Box<PhysicalOp>,
order_by: Vec<(String, SortDirection)>,
},
GroupBy {
input: Box<PhysicalOp>,
group_by: Vec<String>,
aggregates: Vec<AggregateExpr>,
},
Join {
left: Box<PhysicalOp>,
right: Box<PhysicalOp>,
join_type: JoinType,
condition: Expr,
},
Union {
left: Box<PhysicalOp>,
right: Box<PhysicalOp>,
},
Limit {
input: Box<PhysicalOp>,
limit: usize,
offset: usize,
},
}
Expand description
物理演算子
Variants§
Scan
スキャン操作
Filter
フィルター操作
Projection
射影操作
Sort
ソート操作
GroupBy
グループ化操作
Join
ジョイン操作
Union
ユニオン操作
Limit
リミット操作
Trait Implementations§
Source§impl Clone for PhysicalOp
impl Clone for PhysicalOp
Source§fn clone(&self) -> PhysicalOp
fn clone(&self) -> PhysicalOp
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 moreAuto Trait Implementations§
impl Freeze for PhysicalOp
impl RefUnwindSafe for PhysicalOp
impl Send for PhysicalOp
impl Sync for PhysicalOp
impl Unpin for PhysicalOp
impl UnwindSafe for PhysicalOp
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