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

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

Required Methods

Rewrite plan to an optimized form

A human readable name for this optimizer rule

Implementors