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 Constructor Description SingleMinMaxByNState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMemoryUsage(long memory)longgetEstimatedSize()TypedKeyValueHeapgetTypedKeyValueHeap()voidsetTypedKeyValueHeap(TypedKeyValueHeap typedKeyValueHeap)
-
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceAccumulatorState
-
getTypedKeyValueHeap
public TypedKeyValueHeap getTypedKeyValueHeap()
- Specified by:
getTypedKeyValueHeapin interfaceMinMaxByNState
-
setTypedKeyValueHeap
public void setTypedKeyValueHeap(TypedKeyValueHeap typedKeyValueHeap)
- Specified by:
setTypedKeyValueHeapin interfaceMinMaxByNState
-
addMemoryUsage
public void addMemoryUsage(long memory)
- Specified by:
addMemoryUsagein interfaceMinMaxByNState
-
-