Class PhysicalPlanOptimizer
java.lang.Object
org.elasticsearch.xpack.esql.rule.RuleExecutor<PhysicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRuleExecutor<PhysicalPlan,PhysicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.PhysicalPlanOptimizer
public class PhysicalPlanOptimizer
extends ParameterizedRuleExecutor<PhysicalPlan,PhysicalOptimizerContext>
This class is part of the planner. Performs global (coordinator) optimization of the physical plan. Local (data-node) optimizations
occur later by operating just on a plan
FragmentExec (subplan).-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.rule.RuleExecutor
RuleExecutor.Batch<TreeType extends Node<TreeType>>, RuleExecutor.ExecutionInfo, RuleExecutor.Limiter, RuleExecutor.Transformation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Iterable<RuleExecutor.Batch<PhysicalPlan>> batches()optimize(PhysicalPlan plan) Methods inherited from class org.elasticsearch.xpack.esql.rule.ParameterizedRuleExecutor
context, transformMethods inherited from class org.elasticsearch.xpack.esql.rule.RuleExecutor
execute, executeWithInfo
-
Constructor Details
-
PhysicalPlanOptimizer
-
-
Method Details
-
optimize
-
batches
- Specified by:
batchesin classRuleExecutor<PhysicalPlan>
-