Class MultistageAggregationExecutor
- java.lang.Object
-
- org.apache.pinot.query.runtime.operator.MultistageAggregationExecutor
-
public class MultistageAggregationExecutor extends Object
Class that executes all aggregation functions (without group-bys) for the multistage AggregateOperator.
-
-
Constructor Summary
Constructors Constructor Description MultistageAggregationExecutor(AggregationFunction[] aggFunctions, int[] filterArgIndices, AggregateNode.AggType aggType, Map<String,Integer> colNameToIndexMap, DataSchema resultSchema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]constructEmptyAggResultRow()List<Object[]>getResult()Fetches the result.voidprocessBlock(TransferableBlock block, DataSchema inputDataSchema)Performs aggregation for the data in the block.
-
-
-
Constructor Detail
-
MultistageAggregationExecutor
public MultistageAggregationExecutor(AggregationFunction[] aggFunctions, @Nullable int[] filterArgIndices, AggregateNode.AggType aggType, Map<String,Integer> colNameToIndexMap, DataSchema resultSchema)
-
-
Method Detail
-
processBlock
public void processBlock(TransferableBlock block, DataSchema inputDataSchema)
Performs aggregation for the data in the block.
-
constructEmptyAggResultRow
public Object[] constructEmptyAggResultRow()
- Returns:
- an empty agg result block for non-group-by aggregation.
-
-