pub struct PushLimitIntoScan;Expand description
Propagate LIMIT/OFFSET requirements into the underlying table scan so that execution can stop scanning early.
Trait Implementations§
Source§impl LogicalOptimizerRule for PushLimitIntoScan
impl LogicalOptimizerRule for PushLimitIntoScan
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 PushLimitIntoScan
impl RefUnwindSafe for PushLimitIntoScan
impl Send for PushLimitIntoScan
impl Sync for PushLimitIntoScan
impl Unpin for PushLimitIntoScan
impl UnsafeUnpin for PushLimitIntoScan
impl UnwindSafe for PushLimitIntoScan
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