Class MinMaxByNStateFactory.SingleMinMaxByNState
java.lang.Object
io.trino.operator.aggregation.minmaxby.MinMaxByNStateFactory.SingleMinMaxByNState
- All Implemented Interfaces:
MinMaxByNState,AccumulatorState
- Enclosing class:
- MinMaxByNStateFactory
public static class MinMaxByNStateFactory.SingleMinMaxByNState
extends Object
implements MinMaxByNState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(long memory) copy()longvoidsetTypedKeyValueHeap(TypedKeyValueHeap typedKeyValueHeap)
-
Constructor Details
-
SingleMinMaxByNState
public SingleMinMaxByNState()
-
-
Method Details
-
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
-
copy
- Specified by:
copyin interfaceAccumulatorState
-