Trait ExprPrep

Source
pub trait ExprPrep {
    // Required methods
    fn prep_relation_expr(
        &self,
        expr: &mut OptimizedMirRelationExpr,
    ) -> Result<(), OptimizerError>;
    fn prep_scalar_expr(
        &self,
        expr: &mut MirScalarExpr,
    ) -> Result<(), OptimizerError>;
}
Expand description

Behavior to prepare relation and scalar expressions for use in a dataflow.

Required Methods§

Source

fn prep_relation_expr( &self, expr: &mut OptimizedMirRelationExpr, ) -> Result<(), OptimizerError>

Prepare a relation expression.

Source

fn prep_scalar_expr( &self, expr: &mut MirScalarExpr, ) -> Result<(), OptimizerError>

Prepare a scalar expression.

Implementors§