Class KeyValuePairsStateFactory.SingleState
java.lang.Object
io.trino.operator.aggregation.state.KeyValuePairsStateFactory.SingleState
- All Implemented Interfaces:
KeyValuePairsState,AccumulatorState
- Enclosing class:
- KeyValuePairsStateFactory
public static class KeyValuePairsStateFactory.SingleState
extends Object
implements KeyValuePairsState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(long memory) copy()get()longvoidset(KeyValuePairs value)
-
Constructor Details
-
SingleState
-
-
Method Details
-
get
- Specified by:
getin interfaceKeyValuePairsState
-
set
- Specified by:
setin interfaceKeyValuePairsState
-
addMemoryUsage
public void addMemoryUsage(long memory) - Specified by:
addMemoryUsagein interfaceKeyValuePairsState
-
getKeyType
- Specified by:
getKeyTypein interfaceKeyValuePairsState
-
getValueType
- Specified by:
getValueTypein interfaceKeyValuePairsState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
copy
- Specified by:
copyin interfaceAccumulatorState
-