Struct partiql_eval::eval::EvalPlan
source · pub struct EvalPlan(pub StableGraph<Box<dyn Evaluable>, u8, Directed>);
Expand description
Represents a PartiQL evaluation query plan which is a plan that can be evaluated to produce
a result. The plan uses a directed petgraph::StableGraph
.
Tuple Fields§
§0: StableGraph<Box<dyn Evaluable>, u8, Directed>
Implementations§
source§impl EvalPlan
impl EvalPlan
sourcepub fn execute_mut(
&mut self,
bindings: MapBindings<Value>
) -> Result<Evaluated, EvalErr>
pub fn execute_mut( &mut self, bindings: MapBindings<Value> ) -> Result<Evaluated, EvalErr>
Executes the plan while mutating its state by changing the inputs and outputs of plan operators.
pub fn to_dot_graph(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EvalPlan
impl !Send for EvalPlan
impl !Sync for EvalPlan
impl Unpin for EvalPlan
impl !UnwindSafe for EvalPlan
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