pub enum LogicalOp {
NodeScan {
label: Label,
as_: String,
props: Option<Properties>,
},
IndexScan {
label: Label,
as_: String,
index: String,
value: Value,
},
Filter {
pred: Predicate,
input: Box<LogicalOp>,
},
Expand {
edge: EdgePattern,
to_as: String,
from: Box<LogicalOp>,
},
Join {
left: Box<LogicalOp>,
right: Box<LogicalOp>,
on: Vec<String>,
},
Project {
cols: Vec<String>,
input: Box<LogicalOp>,
},
Group {
keys: Vec<String>,
aggregations: Vec<Aggregation>,
input: Box<LogicalOp>,
},
Sort {
keys: Vec<SortKey>,
input: Box<LogicalOp>,
},
Limit {
count: usize,
input: Box<LogicalOp>,
},
Distinct {
input: Box<LogicalOp>,
},
}
Expand description
論理演算子
Variants§
NodeScan
ノードスキャン
IndexScan
インデックススキャン
Filter
フィルタ
Expand
エッジ展開
Join
結合
Project
射影
Group
グループ化
Sort
ソート
Limit
リミット
Distinct
重複除去
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogicalOp
impl<'de> Deserialize<'de> for LogicalOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LogicalOp
impl RefUnwindSafe for LogicalOp
impl Send for LogicalOp
impl Sync for LogicalOp
impl Unpin for LogicalOp
impl UnwindSafe for LogicalOp
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