pub trait OptimizationRule {
// Required method
fn apply(&self, stmt: SelectStatement) -> Result<SelectStatement>;
}Expand description
Optimization rule trait.
Required Methods§
Sourcefn apply(&self, stmt: SelectStatement) -> Result<SelectStatement>
fn apply(&self, stmt: SelectStatement) -> Result<SelectStatement>
Apply the rule to a select statement.