Class MinMaxNStateFactory.SingleMinMaxNState
- java.lang.Object
-
- io.prestosql.operator.aggregation.state.MinMaxNStateFactory.SingleMinMaxNState
-
- All Implemented Interfaces:
MinMaxNState
,AccumulatorState
- Enclosing class:
- MinMaxNStateFactory
public static class MinMaxNStateFactory.SingleMinMaxNState extends Object implements MinMaxNState
-
-
Constructor Summary
Constructors Constructor Description SingleMinMaxNState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMemoryUsage(long memory)
long
getEstimatedSize()
TypedHeap
getTypedHeap()
void
setTypedHeap(TypedHeap typedHeap)
-
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceAccumulatorState
-
getTypedHeap
public TypedHeap getTypedHeap()
- Specified by:
getTypedHeap
in interfaceMinMaxNState
-
setTypedHeap
public void setTypedHeap(TypedHeap typedHeap)
- Specified by:
setTypedHeap
in interfaceMinMaxNState
-
addMemoryUsage
public void addMemoryUsage(long memory)
- Specified by:
addMemoryUsage
in interfaceMinMaxNState
-
-