pub type EvalPlan = Plan<Eval>;Expand description
A plan that applies an expression to its child.
Aliased Type§
pub struct EvalPlan { /* private fields */ }Implementations§
Source§impl EvalPlan
impl EvalPlan
Sourcepub fn try_new(
expression: BoundExpression,
child: PlanRef,
) -> VortexResult<Self>
pub fn try_new( expression: BoundExpression, child: PlanRef, ) -> VortexResult<Self>
Creates an evaluation of expression, which must be bound to the child’s dtype.
Sourcepub unsafe fn new_unchecked(expression: BoundExpression, child: PlanRef) -> Self
pub unsafe fn new_unchecked(expression: BoundExpression, child: PlanRef) -> Self
Creates an evaluation without validating the expression’s root dtype.
§Safety
Every scope root in expression must have the same dtype as child.
Sourcepub fn expression(&self) -> &BoundExpression
pub fn expression(&self) -> &BoundExpression
Returns the expression evaluated by this plan.
Sourcepub fn child_plan(&self) -> VortexResult<PlanRef>
pub fn child_plan(&self) -> VortexResult<PlanRef>
Returns the child plan supplying the expression root.