Skip to main content

OptimizationRule

Trait OptimizationRule 

Source
pub trait OptimizationRule: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn apply(&self, plan: LogicalPlan) -> DbxResult<LogicalPlan>;
}
Expand description

최적화 규칙 트레이트

Required Methods§

Source

fn name(&self) -> &str

규칙 이름

Source

fn apply(&self, plan: LogicalPlan) -> DbxResult<LogicalPlan>

LogicalPlan에 규칙 적용

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§