Class MultimapAggregationStateFactory
- java.lang.Object
-
- io.trino.operator.aggregation.multimapagg.MultimapAggregationStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<MultimapAggregationState>
public class MultimapAggregationStateFactory extends Object implements AccumulatorStateFactory<MultimapAggregationState>
-
-
Constructor Summary
Constructors Constructor Description MultimapAggregationStateFactory(Type keyType, Type valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultimapAggregationStatecreateGroupedState()MultimapAggregationStatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public MultimapAggregationState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<MultimapAggregationState>
-
createGroupedState
public MultimapAggregationState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<MultimapAggregationState>
-
-