Class KeyValuePairsStateFactory
- java.lang.Object
-
- io.trino.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 classKeyValuePairsStateFactory.GroupedStatestatic classKeyValuePairsStateFactory.SingleState
-
Constructor Summary
Constructors Constructor Description KeyValuePairsStateFactory(Type keyType, Type valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValuePairsStatecreateGroupedState()KeyValuePairsStatecreateSingleState()
-
-
-
Method Detail
-
createSingleState
public KeyValuePairsState createSingleState()
- Specified by:
createSingleStatein interfaceAccumulatorStateFactory<KeyValuePairsState>
-
createGroupedState
public KeyValuePairsState createGroupedState()
- Specified by:
createGroupedStatein interfaceAccumulatorStateFactory<KeyValuePairsState>
-
-