Class MinMaxNStateFactory.GroupedMinMaxNState
java.lang.Object
io.trino.operator.aggregation.state.AbstractGroupedAccumulatorState
io.trino.operator.aggregation.state.MinMaxNStateFactory.GroupedMinMaxNState
- All Implemented Interfaces:
MinMaxNState,AccumulatorState,GroupedAccumulatorState
- Enclosing class:
- MinMaxNStateFactory
public static class MinMaxNStateFactory.GroupedMinMaxNState
extends AbstractGroupedAccumulatorState
implements MinMaxNState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(long memory) voidensureCapacity(long size) longvoidsetTypedHeap(TypedHeap 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
-
GroupedMinMaxNState
public GroupedMinMaxNState()
-
-
Method Details
-
ensureCapacity
public void ensureCapacity(long size) - Specified by:
ensureCapacityin interfaceGroupedAccumulatorState
-
getEstimatedSize
public long getEstimatedSize()- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
getTypedHeap
- Specified by:
getTypedHeapin interfaceMinMaxNState
-
setTypedHeap
- Specified by:
setTypedHeapin interfaceMinMaxNState
-
addMemoryUsage
public void addMemoryUsage(long memory) - Specified by:
addMemoryUsagein interfaceMinMaxNState
-