Class KeyValuePairsStateFactory.GroupedState
java.lang.Object
io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
io.trino.operator.aggregation.state.KeyValuePairsStateFactory.GroupedState
- All Implemented Interfaces:
KeyValuePairsState,AccumulatorState,GroupedAccumulatorState
- Enclosing class:
- KeyValuePairsStateFactory
public static class KeyValuePairsStateFactory.GroupedState
extends AbstractGroupedAccumulatorState
implements KeyValuePairsState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(long memory) voidensureCapacity(long size) get()longvoidset(KeyValuePairs value) Methods inherited from class io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
getGroupId, setGroupIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.function.AccumulatorState
copy
-
Constructor Details
-
GroupedState
-
-
Method Details
-
ensureCapacity
public void ensureCapacity(long size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
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
-