Trait polars_plan::logical_plan::OptimizationRule
source · [−]pub trait OptimizationRule {
fn optimize_plan(
&mut self,
_lp_arena: &mut Arena<ALogicalPlan>,
_expr_arena: &mut Arena<AExpr>,
_node: Node
) -> Option<ALogicalPlan> { ... }
fn optimize_expr(
&self,
_expr_arena: &mut Arena<AExpr>,
_expr_node: Node,
_lp_arena: &Arena<ALogicalPlan>,
_lp_node: Node
) -> Option<AExpr> { ... }
}
Provided Methods
sourcefn optimize_plan(
&mut self,
_lp_arena: &mut Arena<ALogicalPlan>,
_expr_arena: &mut Arena<AExpr>,
_node: Node
) -> Option<ALogicalPlan>
fn optimize_plan(
&mut self,
_lp_arena: &mut Arena<ALogicalPlan>,
_expr_arena: &mut Arena<AExpr>,
_node: Node
) -> Option<ALogicalPlan>
Optimize (subplan) in LogicalPlan
lp_arena
- LogicalPlan memory arenaexpr_arena
- Expression memory arenanode
- node of the current LogicalPlan node