pub struct Optimizer;Implementations§
Source§impl Optimizer
impl Optimizer
pub fn new() -> Self
pub fn optimize(&mut self, plan: LogicalPlan) -> LogicalPlan
Sourcepub fn lower_to_physical(&mut self, logical: LogicalPlan) -> PhysicalPlan
pub fn lower_to_physical(&mut self, logical: LogicalPlan) -> PhysicalPlan
Lower a logical plan by consuming it — each op’s owned payload (expressions, patterns, items) is moved into the physical op rather than cloned. Callers should not need the logical plan after this.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Optimizer
impl RefUnwindSafe for Optimizer
impl Send for Optimizer
impl Sync for Optimizer
impl Unpin for Optimizer
impl UnsafeUnpin for Optimizer
impl UnwindSafe for Optimizer
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