Trait datafusion::optimizer::optimizer::OptimizerRule[][src]

pub trait OptimizerRule {
    fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan>;
fn name(&self) -> &str; }

OptimizerRule transforms one [‘LogicalPlan’] into another which computes the same results, but in a potentially more efficient way.

Required methods

fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan>[src]

Rewrite plan to an optimized form

fn name(&self) -> &str[src]

A human readable name for this optimizer rule

Loading content...

Implementors

Loading content...