pub struct LimitSkipByIndexPass<'a> { /* private fields */ }Expand description
Pass that leverages indexes to implement LIMIT and SKIP.
Implementations§
Source§impl<'a> LimitSkipByIndexPass<'a>
impl<'a> LimitSkipByIndexPass<'a>
Sourcepub fn new(ctx: &'a ExecutionContext) -> Self
pub fn new(ctx: &'a ExecutionContext) -> Self
Creates a new LimitSkipByIndexPass with the given execution context.
Sourcepub fn optimize(&self, plan: PhysicalPlan) -> PhysicalPlan
pub fn optimize(&self, plan: PhysicalPlan) -> PhysicalPlan
Optimizes the physical plan by pushing LIMIT/SKIP to indexes.
Auto Trait Implementations§
impl<'a> Freeze for LimitSkipByIndexPass<'a>
impl<'a> RefUnwindSafe for LimitSkipByIndexPass<'a>
impl<'a> Send for LimitSkipByIndexPass<'a>
impl<'a> Sync for LimitSkipByIndexPass<'a>
impl<'a> Unpin for LimitSkipByIndexPass<'a>
impl<'a> UnwindSafe for LimitSkipByIndexPass<'a>
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