Class AggregateMapper
java.lang.Object
org.elasticsearch.xpack.esql.planner.AggregateMapper
Static class used to convert aggregate expressions to the named expressions that represent their intermediate state.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<IntermediateStateDesc> intermediateStateDesc(AggregateFunction fn, boolean grouping) static List<NamedExpression> mapGrouping(List<? extends NamedExpression> aggregates) static List<NamedExpression> mapNonGrouping(List<? extends NamedExpression> aggregates)
-
Constructor Details
-
AggregateMapper
public AggregateMapper()
-
-
Method Details
-
mapNonGrouping
-
mapGrouping
-
intermediateStateDesc
public static List<IntermediateStateDesc> intermediateStateDesc(AggregateFunction fn, boolean grouping)
-