Class AggregationUtils
- java.lang.Object
-
- org.apache.pinot.query.runtime.operator.utils.AggregationUtils
-
public class AggregationUtils extends Object
Utility class to perform accumulation over a collection of rows. It provides utils for the following: (1) method to deal with aggregation key and (2) method to merge a row into an existing accumulatorAccumulation is used by
WindowAggregateOperatorandAggregateOperator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregationUtils.AccumulatorAccumulator class which accumulates the aggregated results into the group sets if anystatic interfaceAggregationUtils.Merger
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyextractEmptyKey()static KeyextractRowKey(Object[] row, List<RexExpression> groupSet)
-
-
-
Method Detail
-
extractRowKey
public static Key extractRowKey(Object[] row, List<RexExpression> groupSet)
-
extractEmptyKey
public static Key extractEmptyKey()
-
-