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
Implementors
impl OptimizerRule for ConstantFolding
[src]
impl OptimizerRule for ConstantFolding
[src]fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan>
[src]
fn name(&self) -> &str
[src]
impl OptimizerRule for FilterPushDown
[src]
impl OptimizerRule for FilterPushDown
[src]fn name(&self) -> &str
[src]
fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan>
[src]
impl OptimizerRule for HashBuildProbeOrder
[src]
impl OptimizerRule for HashBuildProbeOrder
[src]fn name(&self) -> &str
[src]
fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan>
[src]
impl OptimizerRule for LimitPushDown
[src]
impl OptimizerRule for LimitPushDown
[src]fn optimize(&self, plan: &LogicalPlan) -> Result<LogicalPlan>
[src]
fn name(&self) -> &str
[src]
impl OptimizerRule for ProjectionPushDown
[src]
impl OptimizerRule for ProjectionPushDown
[src]