Class LocalPropagateEmptyRelation
java.lang.Object
org.elasticsearch.xpack.esql.rule.Rule<UnaryPlan,LogicalPlan>
org.elasticsearch.xpack.esql.rule.ParameterizedRule<UnaryPlan,LogicalPlan,LogicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.rules.logical.OptimizerRules.ParameterizedOptimizerRule<UnaryPlan,LogicalOptimizerContext>
org.elasticsearch.xpack.esql.optimizer.rules.logical.PropagateEmptyRelation
org.elasticsearch.xpack.esql.optimizer.rules.logical.local.LocalPropagateEmptyRelation
Local aggregation can only produce intermediate state that get wired into the global agg.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaggOutput(FoldContext foldCtx, NamedExpression agg, AggregateFunction aggFunc, BlockFactory blockFactory, List<Block> blocks) Local variant of the aggregation that returns the intermediate value.Methods inherited from class org.elasticsearch.xpack.esql.optimizer.rules.logical.PropagateEmptyRelation
ruleMethods inherited from class org.elasticsearch.xpack.esql.optimizer.rules.logical.OptimizerRules.ParameterizedOptimizerRule
applyMethods inherited from class org.elasticsearch.xpack.esql.rule.ParameterizedRule
apply
-
Constructor Details
-
LocalPropagateEmptyRelation
public LocalPropagateEmptyRelation()
-
-
Method Details
-
aggOutput
protected void aggOutput(FoldContext foldCtx, NamedExpression agg, AggregateFunction aggFunc, BlockFactory blockFactory, List<Block> blocks) Local variant of the aggregation that returns the intermediate value.- Overrides:
aggOutputin classPropagateEmptyRelation
-