Interface AdaptivePlanOptimizer
- All Superinterfaces:
PlanOptimizer
- All Known Implementing Classes:
AdaptivePartitioning,IterativeOptimizer
This optimizer is needed for adaptive optimization in FTE.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.trino.sql.planner.optimizations.PlanOptimizer
PlanOptimizer.Context -
Method Summary
Modifier and TypeMethodDescriptiondefault PlanNodeoptimize(PlanNode plan, PlanOptimizer.Context context) optimizeAndMarkPlanChanges(PlanNode plan, PlanOptimizer.Context context) Optimize the plan and return the changes made to the plan.
-
Method Details
-
optimize
- Specified by:
optimizein interfacePlanOptimizer
-
optimizeAndMarkPlanChanges
AdaptivePlanOptimizer.Result optimizeAndMarkPlanChanges(PlanNode plan, PlanOptimizer.Context context) Optimize the plan and return the changes made to the plan.
-