pub enum PlanStep {
ScanModel {
model: String,
domains: Vec<String>,
},
Filter {
field: String,
op: String,
value: String,
},
Join {
target_model: String,
relationship: String,
},
TemporalEnrich {
fields: Vec<(String, String)>,
},
Sort {
field: String,
ascending: bool,
},
Limit {
n: usize,
},
Project {
fields: Vec<String>,
},
}Expand description
A single step in the execution plan.
Variants§
ScanModel
Scan all instances of a model across specified domains.
Filter
Filter rows by a WHERE expression.
Join
Join with another model.
TemporalEnrich
Enrich rows with temporal data.
Sort
Sort rows.
Limit
Limit results.
Project
Select specific fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanStep
impl<'de> Deserialize<'de> for PlanStep
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 PlanStep
impl RefUnwindSafe for PlanStep
impl Send for PlanStep
impl Sync for PlanStep
impl Unpin for PlanStep
impl UnsafeUnpin for PlanStep
impl UnwindSafe for PlanStep
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