Class KeyValuePairsStateFactory
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.KeyValuePairsStateFactory
-
- All Implemented Interfaces:
AccumulatorStateFactory<KeyValuePairsState>
public class KeyValuePairsStateFactory extends Object implements AccumulatorStateFactory<KeyValuePairsState>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyValuePairsStateFactory.GroupedState
static class
KeyValuePairsStateFactory.SingleState
-
Constructor Summary
Constructors Constructor Description KeyValuePairsStateFactory(Type keyType, Type valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValuePairsState
createGroupedState()
KeyValuePairsState
createSingleState()
Class<? extends KeyValuePairsState>
getGroupedStateClass()
Class<? extends KeyValuePairsState>
getSingleStateClass()
-
-
-
Method Detail
-
createSingleState
public KeyValuePairsState createSingleState()
- Specified by:
createSingleState
in interfaceAccumulatorStateFactory<KeyValuePairsState>
-
getSingleStateClass
public Class<? extends KeyValuePairsState> getSingleStateClass()
- Specified by:
getSingleStateClass
in interfaceAccumulatorStateFactory<KeyValuePairsState>
-
createGroupedState
public KeyValuePairsState createGroupedState()
- Specified by:
createGroupedState
in interfaceAccumulatorStateFactory<KeyValuePairsState>
-
getGroupedStateClass
public Class<? extends KeyValuePairsState> getGroupedStateClass()
- Specified by:
getGroupedStateClass
in interfaceAccumulatorStateFactory<KeyValuePairsState>
-
-