Class MinMaxByNStateFactory.SingleMinMaxByNState
- java.lang.Object
-
- io.prestosql.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 void
addMemoryUsage(long memory)
long
getEstimatedSize()
TypedKeyValueHeap
getTypedKeyValueHeap()
void
setTypedKeyValueHeap(TypedKeyValueHeap typedKeyValueHeap)
-
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceAccumulatorState
-
getTypedKeyValueHeap
public TypedKeyValueHeap getTypedKeyValueHeap()
- Specified by:
getTypedKeyValueHeap
in interfaceMinMaxByNState
-
setTypedKeyValueHeap
public void setTypedKeyValueHeap(TypedKeyValueHeap typedKeyValueHeap)
- Specified by:
setTypedKeyValueHeap
in interfaceMinMaxByNState
-
addMemoryUsage
public void addMemoryUsage(long memory)
- Specified by:
addMemoryUsage
in interfaceMinMaxByNState
-
-