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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".