pub struct MultiColumnOrPass<'a> { /* private fields */ }Expand description
Pass that optimizes multi-column OR predicates using multiple index scans.
Implementations§
Source§impl<'a> MultiColumnOrPass<'a>
impl<'a> MultiColumnOrPass<'a>
Sourcepub fn new(ctx: &'a ExecutionContext) -> Self
pub fn new(ctx: &'a ExecutionContext) -> Self
Creates a new MultiColumnOrPass with the given execution context.
Sourcepub fn with_config(
ctx: &'a ExecutionContext,
config: MultiColumnOrConfig,
) -> Self
pub fn with_config( ctx: &'a ExecutionContext, config: MultiColumnOrConfig, ) -> Self
Creates a new MultiColumnOrPass with custom configuration.
Sourcepub fn optimize(&self, plan: PhysicalPlan) -> PhysicalPlan
pub fn optimize(&self, plan: PhysicalPlan) -> PhysicalPlan
Optimizes the physical plan by converting eligible OR predicates to multi-index scans.
Auto Trait Implementations§
impl<'a> Freeze for MultiColumnOrPass<'a>
impl<'a> RefUnwindSafe for MultiColumnOrPass<'a>
impl<'a> Send for MultiColumnOrPass<'a>
impl<'a> Sync for MultiColumnOrPass<'a>
impl<'a> Unpin for MultiColumnOrPass<'a>
impl<'a> UnwindSafe for MultiColumnOrPass<'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