Skip to main content

OptimizationRule

Trait OptimizationRule 

Source
pub trait OptimizationRule {
    // Required method
    fn apply(&self, stmt: SelectStatement) -> Result<SelectStatement>;
}
Expand description

Optimization rule trait.

Required Methods§

Source

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".

Implementors§