Class MultimapAggregationStateFactory
- java.lang.Object
-
- io.prestosql.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, MultimapAggGroupImplementation implementation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultimapAggregationState
createGroupedState()
MultimapAggregationState
createSingleState()
Class<? extends MultimapAggregationState>
getGroupedStateClass()
Class<? extends MultimapAggregationState>
getSingleStateClass()
-
-
-
Constructor Detail
-
MultimapAggregationStateFactory
public MultimapAggregationStateFactory(Type keyType, Type valueType, MultimapAggGroupImplementation implementation)
-
-
Method Detail
-
createSingleState
public MultimapAggregationState createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<MultimapAggregationState>
-
getSingleStateClass
public Class<? extends MultimapAggregationState> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<MultimapAggregationState>
-
createGroupedState
public MultimapAggregationState createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<MultimapAggregationState>
-
getGroupedStateClass
public Class<? extends MultimapAggregationState> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<MultimapAggregationState>
-
-