Skip to main content

MapperExtension

Trait MapperExtension 

Source
pub trait MapperExtension:
    Send
    + Sync
    + Debug {
    // Provided methods
    fn name(&self) -> &'static str { ... }
    fn map(&self, _plan: &ExecutionPlan) -> Option<DBResult<ExecutionPlan>> { ... }
}
Expand description

Inspect or rewrite an optimized ExecutionPlan at the mapper boundary (after logical optimization, before physical plan building).

Return None to decline (builtin plan is used as-is).

Provided Methods§

Source

fn name(&self) -> &'static str

Source

fn map(&self, _plan: &ExecutionPlan) -> Option<DBResult<ExecutionPlan>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§