Class MinMaxByNStateFactory.GroupedMinMaxByNState
java.lang.Object
io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
io.trino.operator.aggregation.minmaxby.MinMaxByNStateFactory.GroupedMinMaxByNState
- All Implemented Interfaces:
MinMaxByNState,AccumulatorState,GroupedAccumulatorState
- Enclosing class:
- MinMaxByNStateFactory
public static class MinMaxByNStateFactory.GroupedMinMaxByNState
extends AbstractGroupedAccumulatorState
implements MinMaxByNState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(long memory) voidensureCapacity(long size) longvoidMethods 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
-
GroupedMinMaxByNState
public GroupedMinMaxByNState()
-
-
Method Details
-
ensureCapacity
public void ensureCapacity(long size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
getTypedKeyValueHeap
- Specified by:
getTypedKeyValueHeapin interfaceMinMaxByNState
-
setTypedKeyValueHeap
- Specified by:
setTypedKeyValueHeapin interfaceMinMaxByNState
-
addMemoryUsage
public void addMemoryUsage(long memory) - Specified by:
addMemoryUsagein interfaceMinMaxByNState
-