Class MultistageGroupByExecutor
- java.lang.Object
-
- org.apache.pinot.query.runtime.operator.MultistageGroupByExecutor
-
public class MultistageGroupByExecutor extends Object
Class that executes the group by aggregations for the multistage AggregateOperator.
-
-
Constructor Summary
Constructors Constructor Description MultistageGroupByExecutor(List<ExpressionContext> groupByExpr, AggregationFunction[] aggFunctions, int[] filterArgIndices, AggregateNode.AggType aggType, Map<String,Integer> colNameToIndexMap, DataSchema resultSchema, Map<String,String> customProperties, AbstractPlanNode.NodeHint nodeHint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumGroupsLimit()List<Object[]>getResult()Fetches the result.booleanisNumGroupsLimitReached()voidprocessBlock(TransferableBlock block, DataSchema inputDataSchema)Performs group-by aggregation for the data in the block.
-
-
-
Constructor Detail
-
MultistageGroupByExecutor
public MultistageGroupByExecutor(List<ExpressionContext> groupByExpr, AggregationFunction[] aggFunctions, @Nullable int[] filterArgIndices, AggregateNode.AggType aggType, Map<String,Integer> colNameToIndexMap, DataSchema resultSchema, Map<String,String> customProperties, @Nullable AbstractPlanNode.NodeHint nodeHint)
-
-
Method Detail
-
getNumGroupsLimit
public int getNumGroupsLimit()
-
processBlock
public void processBlock(TransferableBlock block, DataSchema inputDataSchema)
Performs group-by aggregation for the data in the block.
-
isNumGroupsLimitReached
public boolean isNumGroupsLimitReached()
-
-