Skip to main content

OptimizerPass

Trait OptimizerPass 

Source
pub trait OptimizerPass {
    // Required method
    fn optimize(&self, plan: LogicalPlan) -> LogicalPlan;

    // Provided method
    fn name(&self) -> &'static str { ... }
}
Expand description

An optimization pass that transforms a logical plan.

Required Methods§

Source

fn optimize(&self, plan: LogicalPlan) -> LogicalPlan

Optimizes the given logical plan.

Provided Methods§

Source

fn name(&self) -> &'static str

Returns the name of this pass.

Implementors§