Class LocalPhysicalPlanOptimizer
java.lang.Object
org.elasticsearch.xpack.esql.rule.RuleExecutor<PhysicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRuleExecutor<PhysicalPlan,LocalPhysicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.LocalPhysicalPlanOptimizer
public class LocalPhysicalPlanOptimizer
extends ParameterizedRuleExecutor<PhysicalPlan,LocalPhysicalOptimizerContext>
Manages field extraction and pushing parts of the query into Lucene. (Query elements that are not pushed into Lucene are executed via
the compute engine)
-
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 List<RuleExecutor.Batch<PhysicalPlan>> batches()localOptimize(PhysicalPlan plan) protected List<RuleExecutor.Batch<PhysicalPlan>> rules(boolean optimizeForEsSource) 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
-
LocalPhysicalPlanOptimizer
-
-
Method Details
-
localOptimize
-
batches
- Specified by:
batchesin classRuleExecutor<PhysicalPlan>
-
rules
-