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