pub struct PushDownFilterToScan;Expand description
Attach Filter predicates directly to the underlying TableScan.
This lets the physical planner decide whether the scan itself can honor
the predicate (e.g. via index) while keeping the logical tree shallower.
Trait Implementations§
Source§impl LogicalOptimizerRule for PushDownFilterToScan
impl LogicalOptimizerRule for PushDownFilterToScan
Source§fn try_optimize(
&self,
plan: &LogicalPlan,
) -> QuillSQLResult<Option<LogicalPlan>>
fn try_optimize( &self, plan: &LogicalPlan, ) -> QuillSQLResult<Option<LogicalPlan>>
Try and rewrite
plan to an optimized form, returning None if the plan cannot be
optimized by this rule.Source§fn apply_order(&self) -> Option<ApplyOrder>
fn apply_order(&self) -> Option<ApplyOrder>
How should the rule be applied by the optimizer Read more
Auto Trait Implementations§
impl Freeze for PushDownFilterToScan
impl RefUnwindSafe for PushDownFilterToScan
impl Send for PushDownFilterToScan
impl Sync for PushDownFilterToScan
impl Unpin for PushDownFilterToScan
impl UnsafeUnpin for PushDownFilterToScan
impl UnwindSafe for PushDownFilterToScan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more