Class MinMaxNStateFactory.SingleMinMaxNState
java.lang.Object
io.trino.operator.aggregation.state.MinMaxNStateFactory.SingleMinMaxNState
- All Implemented Interfaces:
MinMaxNState,AccumulatorState
- Enclosing class:
- MinMaxNStateFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemoryUsage(long memory) copy()longvoidsetTypedHeap(TypedHeap typedHeap)
-
Constructor Details
-
SingleMinMaxNState
public SingleMinMaxNState()
-
-
Method Details
-
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
-
copy
- Specified by:
copyin interfaceAccumulatorState
-