Class LogicalPlanPreOptimizer
java.lang.Object
org.elasticsearch.xpack.esql.optimizer.LogicalPlanPreOptimizer
The class is responsible for invoking any steps that need to be applied to the logical plan,
before this is being optimized.
This is useful, especially if you need to execute some async tasks before the plan is optimized.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpreOptimize(LogicalPlan plan, ActionListener<LogicalPlan> listener) Pre-optimize a logical plan.
-
Constructor Details
-
LogicalPlanPreOptimizer
-
-
Method Details
-
preOptimize
Pre-optimize a logical plan.- Parameters:
plan- the analyzed logical plan to pre-optimizelistener- the listener returning the pre-optimized plan when pre-optimization is complete
-