Package io.trino.operator
Class PartitionedOutputOperator.PartitionedOutputInfo
- java.lang.Object
-
- io.trino.operator.PartitionedOutputOperator.PartitionedOutputInfo
-
- All Implemented Interfaces:
OperatorInfo,Mergeable<PartitionedOutputOperator.PartitionedOutputInfo>
- Enclosing class:
- PartitionedOutputOperator
public static class PartitionedOutputOperator.PartitionedOutputInfo extends Object implements Mergeable<PartitionedOutputOperator.PartitionedOutputInfo>, OperatorInfo
-
-
Constructor Summary
Constructors Constructor Description PartitionedOutputInfo(long rowsAdded, long pagesAdded, long outputBufferPeakMemoryUsage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetOutputBufferPeakMemoryUsage()longgetPagesAdded()longgetRowsAdded()booleanisFinal()PartitionedOutputOperator.PartitionedOutputInfomergeWith(PartitionedOutputOperator.PartitionedOutputInfo other)Merges the current state with the state of the other instance, and returns the merged state.StringtoString()
-
-
-
Method Detail
-
getRowsAdded
public long getRowsAdded()
-
getPagesAdded
public long getPagesAdded()
-
getOutputBufferPeakMemoryUsage
public long getOutputBufferPeakMemoryUsage()
-
mergeWith
public PartitionedOutputOperator.PartitionedOutputInfo mergeWith(PartitionedOutputOperator.PartitionedOutputInfo other)
Description copied from interface:MergeableMerges the current state with the state of the other instance, and returns the merged state.- Specified by:
mergeWithin interfaceMergeable<PartitionedOutputOperator.PartitionedOutputInfo>
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceOperatorInfo- Returns:
- true if this OperatorInfo should be collected and sent to the coordinator when the task completes (i.e. it will not be stripped away during summarization).
-
-