pub trait PlanReduceRule<P: PlanVTable>:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn reduce(&self, plan: &Plan<P>) -> VortexResult<Option<PlanRef>>;
}Expand description
A rewrite over one concrete plan operator.
Rules return one rewrite without recursively optimizing the replacement. The plan optimizer owns traversal and drives further rewrites.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".