Class OptimizerRules.OptimizerRule<SubPlan extends LogicalPlan>
java.lang.Object
org.elasticsearch.xpack.esql.rule.Rule<SubPlan,LogicalPlan>
org.elasticsearch.xpack.esql.optimizer.rules.logical.OptimizerRules.OptimizerRule<SubPlan>
- Direct Known Subclasses:
CombineEvals,CombineProjections,ExtractAggregateCommonFilter,PropagateInlineEvals,PruneEmptyPlans,PruneFilters,PruneLiteralsInOrderBy,PruneRedundantOrderBy,PruneRedundantSortClauses,PruneUnusedIndexMode,PushDownAndCombineFilters,PushDownAndCombineOrderBy,PushDownConjunctionsToKnnPrefilters,PushDownEnrich,PushDownEval,PushDownInferencePlan,PushDownJoinPastProject,PushDownRegexExtract,RemoveStatsOverride,ReplaceAggregateAggExpressionWithEval,ReplaceAggregateNestedExpressionWithEval,ReplaceLimitAndSortAsTopN,ReplaceLookupWithJoin,ReplaceOrderByExpressionWithEval,ReplaceStatsFilteredAggWithEval,ReplaceTopNWithLimitAndSort,ReplaceTrivialTypeConversions,SkipQueryOnEmptyMappings,SubstituteSurrogateAggregations,SubstituteSurrogatePlans,TranslateTimeSeriesAggregate
- Enclosing class:
OptimizerRules
public abstract static class OptimizerRules.OptimizerRule<SubPlan extends LogicalPlan>
extends Rule<SubPlan,LogicalPlan>
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOptimizerRule(OptimizerRules.TransformDirection direction) -
Method Summary
Modifier and TypeMethodDescriptionfinal LogicalPlanapply(LogicalPlan plan) protected abstract LogicalPlan
-
Constructor Details
-
OptimizerRule
public OptimizerRule() -
OptimizerRule
-
-
Method Details
-
apply
- Specified by:
applyin classRule<SubPlan extends LogicalPlan,LogicalPlan>
-
rule
-