Package io.prestosql.operator
Class TableWriterOperator.TableWriterInfo
- java.lang.Object
-
- io.prestosql.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 long
getPageSinkPeakMemoryUsage()
io.airlift.units.Duration
getStatisticsCpuTime()
io.airlift.units.Duration
getStatisticsWallTime()
io.airlift.units.Duration
getValidationCpuTime()
boolean
isFinal()
TableWriterOperator.TableWriterInfo
mergeWith(TableWriterOperator.TableWriterInfo other)
Merges the current state with the state of the other instance, and returns the merged state.String
toString()
-
-
-
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)
Description copied from interface:Mergeable
Merges the current state with the state of the other instance, and returns the merged state.- Specified by:
mergeWith
in interfaceMergeable<TableWriterOperator.TableWriterInfo>
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in 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).
-
-