Package io.trino.operator
Class TableWriterOperator.TableWriterInfo
- java.lang.Object
-
- io.trino.operator.TableWriterOperator.TableWriterInfo
-
- All Implemented Interfaces:
OperatorInfo,Mergeable<TableWriterOperator.TableWriterInfo>
- Enclosing class:
- TableWriterOperator
public static class TableWriterOperator.TableWriterInfo extends Object implements Mergeable<TableWriterOperator.TableWriterInfo>, OperatorInfo
-
-
Constructor Summary
Constructors Constructor Description TableWriterInfo(long pageSinkPeakMemoryUsage, io.airlift.units.Duration statisticsWallTime, io.airlift.units.Duration statisticsCpuTime, io.airlift.units.Duration validationCpuTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetPageSinkPeakMemoryUsage()io.airlift.units.DurationgetStatisticsCpuTime()io.airlift.units.DurationgetStatisticsWallTime()io.airlift.units.DurationgetValidationCpuTime()booleanisFinal()TableWriterOperator.TableWriterInfomergeWith(TableWriterOperator.TableWriterInfo other)StringtoString()
-
-
-
Method Detail
-
getPageSinkPeakMemoryUsage
public long getPageSinkPeakMemoryUsage()
-
getStatisticsWallTime
public io.airlift.units.Duration getStatisticsWallTime()
-
getStatisticsCpuTime
public io.airlift.units.Duration getStatisticsCpuTime()
-
getValidationCpuTime
public io.airlift.units.Duration getValidationCpuTime()
-
mergeWith
public TableWriterOperator.TableWriterInfo mergeWith(TableWriterOperator.TableWriterInfo other)
- Specified by:
mergeWithin interfaceMergeable<TableWriterOperator.TableWriterInfo>
-
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).
-
-