Skip to main content

EvalPlan

Type Alias EvalPlan 

Source
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

Source

pub fn try_new( expression: BoundExpression, child: PlanRef, ) -> VortexResult<Self>

Creates an evaluation of expression, which must be bound to the child’s dtype.

Source

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.

Source

pub fn expression(&self) -> &BoundExpression

Returns the expression evaluated by this plan.

Source

pub fn child_plan(&self) -> VortexResult<PlanRef>

Returns the child plan supplying the expression root.