Package org.apache.iotdb.mpp.rpc.thrift
Class TOperatorStatistics
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TOperatorStatistics
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TOperatorStatistics>,org.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-06-27") public class TOperatorStatistics extends Object implements org.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>, Serializable, Cloneable, Comparable<TOperatorStatistics>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTOperatorStatistics._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longcountlonghasNextCalledCountlongmemoryUsagestatic Map<TOperatorStatistics._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongnextCalledCountStringoperatorTypelongoutputRowsStringplanNodeIdMap<String,String>specifiedInfolongtotalExecutionTimeInNanos
-
Constructor Summary
Constructors Constructor Description TOperatorStatistics()TOperatorStatistics(String planNodeId, String operatorType, long totalExecutionTimeInNanos, long nextCalledCount, long hasNextCalledCount, Map<String,String> specifiedInfo, long outputRows, long memoryUsage)TOperatorStatistics(TOperatorStatistics other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TOperatorStatistics other)TOperatorStatisticsdeepCopy()booleanequals(Object that)booleanequals(TOperatorStatistics that)TOperatorStatistics._FieldsfieldForId(int fieldId)longgetCount()ObjectgetFieldValue(TOperatorStatistics._Fields field)longgetHasNextCalledCount()longgetMemoryUsage()longgetNextCalledCount()StringgetOperatorType()longgetOutputRows()StringgetPlanNodeId()Map<String,String>getSpecifiedInfo()intgetSpecifiedInfoSize()longgetTotalExecutionTimeInNanos()inthashCode()booleanisSet(TOperatorStatistics._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCount()Returns true if field count is set (has been assigned a value) and false otherwisebooleanisSetHasNextCalledCount()Returns true if field hasNextCalledCount is set (has been assigned a value) and false otherwisebooleanisSetMemoryUsage()Returns true if field memoryUsage is set (has been assigned a value) and false otherwisebooleanisSetNextCalledCount()Returns true if field nextCalledCount is set (has been assigned a value) and false otherwisebooleanisSetOperatorType()Returns true if field operatorType is set (has been assigned a value) and false otherwisebooleanisSetOutputRows()Returns true if field outputRows is set (has been assigned a value) and false otherwisebooleanisSetPlanNodeId()Returns true if field planNodeId is set (has been assigned a value) and false otherwisebooleanisSetSpecifiedInfo()Returns true if field specifiedInfo is set (has been assigned a value) and false otherwisebooleanisSetTotalExecutionTimeInNanos()Returns true if field totalExecutionTimeInNanos is set (has been assigned a value) and false otherwisevoidputToSpecifiedInfo(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)TOperatorStatisticssetCount(long count)voidsetCountIsSet(boolean value)voidsetFieldValue(TOperatorStatistics._Fields field, Object value)TOperatorStatisticssetHasNextCalledCount(long hasNextCalledCount)voidsetHasNextCalledCountIsSet(boolean value)TOperatorStatisticssetMemoryUsage(long memoryUsage)voidsetMemoryUsageIsSet(boolean value)TOperatorStatisticssetNextCalledCount(long nextCalledCount)voidsetNextCalledCountIsSet(boolean value)TOperatorStatisticssetOperatorType(String operatorType)voidsetOperatorTypeIsSet(boolean value)TOperatorStatisticssetOutputRows(long outputRows)voidsetOutputRowsIsSet(boolean value)TOperatorStatisticssetPlanNodeId(String planNodeId)voidsetPlanNodeIdIsSet(boolean value)TOperatorStatisticssetSpecifiedInfo(Map<String,String> specifiedInfo)voidsetSpecifiedInfoIsSet(boolean value)TOperatorStatisticssetTotalExecutionTimeInNanos(long totalExecutionTimeInNanos)voidsetTotalExecutionTimeInNanosIsSet(boolean value)StringtoString()voidunsetCount()voidunsetHasNextCalledCount()voidunsetMemoryUsage()voidunsetNextCalledCount()voidunsetOperatorType()voidunsetOutputRows()voidunsetPlanNodeId()voidunsetSpecifiedInfo()voidunsetTotalExecutionTimeInNanos()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
planNodeId
public String planNodeId
-
operatorType
public String operatorType
-
totalExecutionTimeInNanos
public long totalExecutionTimeInNanos
-
nextCalledCount
public long nextCalledCount
-
hasNextCalledCount
public long hasNextCalledCount
-
outputRows
public long outputRows
-
memoryUsage
public long memoryUsage
-
count
public long count
-
metaDataMap
public static final Map<TOperatorStatistics._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TOperatorStatistics
public TOperatorStatistics()
-
TOperatorStatistics
public TOperatorStatistics(String planNodeId, String operatorType, long totalExecutionTimeInNanos, long nextCalledCount, long hasNextCalledCount, Map<String,String> specifiedInfo, long outputRows, long memoryUsage)
-
TOperatorStatistics
public TOperatorStatistics(TOperatorStatistics other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TOperatorStatistics deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>
-
getPlanNodeId
public String getPlanNodeId()
-
setPlanNodeId
public TOperatorStatistics setPlanNodeId(String planNodeId)
-
unsetPlanNodeId
public void unsetPlanNodeId()
-
isSetPlanNodeId
public boolean isSetPlanNodeId()
Returns true if field planNodeId is set (has been assigned a value) and false otherwise
-
setPlanNodeIdIsSet
public void setPlanNodeIdIsSet(boolean value)
-
getOperatorType
public String getOperatorType()
-
setOperatorType
public TOperatorStatistics setOperatorType(String operatorType)
-
unsetOperatorType
public void unsetOperatorType()
-
isSetOperatorType
public boolean isSetOperatorType()
Returns true if field operatorType is set (has been assigned a value) and false otherwise
-
setOperatorTypeIsSet
public void setOperatorTypeIsSet(boolean value)
-
getTotalExecutionTimeInNanos
public long getTotalExecutionTimeInNanos()
-
setTotalExecutionTimeInNanos
public TOperatorStatistics setTotalExecutionTimeInNanos(long totalExecutionTimeInNanos)
-
unsetTotalExecutionTimeInNanos
public void unsetTotalExecutionTimeInNanos()
-
isSetTotalExecutionTimeInNanos
public boolean isSetTotalExecutionTimeInNanos()
Returns true if field totalExecutionTimeInNanos is set (has been assigned a value) and false otherwise
-
setTotalExecutionTimeInNanosIsSet
public void setTotalExecutionTimeInNanosIsSet(boolean value)
-
getNextCalledCount
public long getNextCalledCount()
-
setNextCalledCount
public TOperatorStatistics setNextCalledCount(long nextCalledCount)
-
unsetNextCalledCount
public void unsetNextCalledCount()
-
isSetNextCalledCount
public boolean isSetNextCalledCount()
Returns true if field nextCalledCount is set (has been assigned a value) and false otherwise
-
setNextCalledCountIsSet
public void setNextCalledCountIsSet(boolean value)
-
getHasNextCalledCount
public long getHasNextCalledCount()
-
setHasNextCalledCount
public TOperatorStatistics setHasNextCalledCount(long hasNextCalledCount)
-
unsetHasNextCalledCount
public void unsetHasNextCalledCount()
-
isSetHasNextCalledCount
public boolean isSetHasNextCalledCount()
Returns true if field hasNextCalledCount is set (has been assigned a value) and false otherwise
-
setHasNextCalledCountIsSet
public void setHasNextCalledCountIsSet(boolean value)
-
getSpecifiedInfoSize
public int getSpecifiedInfoSize()
-
setSpecifiedInfo
public TOperatorStatistics setSpecifiedInfo(Map<String,String> specifiedInfo)
-
unsetSpecifiedInfo
public void unsetSpecifiedInfo()
-
isSetSpecifiedInfo
public boolean isSetSpecifiedInfo()
Returns true if field specifiedInfo is set (has been assigned a value) and false otherwise
-
setSpecifiedInfoIsSet
public void setSpecifiedInfoIsSet(boolean value)
-
getOutputRows
public long getOutputRows()
-
setOutputRows
public TOperatorStatistics setOutputRows(long outputRows)
-
unsetOutputRows
public void unsetOutputRows()
-
isSetOutputRows
public boolean isSetOutputRows()
Returns true if field outputRows is set (has been assigned a value) and false otherwise
-
setOutputRowsIsSet
public void setOutputRowsIsSet(boolean value)
-
getMemoryUsage
public long getMemoryUsage()
-
setMemoryUsage
public TOperatorStatistics setMemoryUsage(long memoryUsage)
-
unsetMemoryUsage
public void unsetMemoryUsage()
-
isSetMemoryUsage
public boolean isSetMemoryUsage()
Returns true if field memoryUsage is set (has been assigned a value) and false otherwise
-
setMemoryUsageIsSet
public void setMemoryUsageIsSet(boolean value)
-
getCount
public long getCount()
-
setCount
public TOperatorStatistics setCount(long count)
-
unsetCount
public void unsetCount()
-
isSetCount
public boolean isSetCount()
Returns true if field count is set (has been assigned a value) and false otherwise
-
setCountIsSet
public void setCountIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TOperatorStatistics._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>
-
getFieldValue
public Object getFieldValue(TOperatorStatistics._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>
-
isSet
public boolean isSet(TOperatorStatistics._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>
-
equals
public boolean equals(TOperatorStatistics that)
-
compareTo
public int compareTo(TOperatorStatistics other)
- Specified by:
compareToin interfaceComparable<TOperatorStatistics>
-
fieldForId
public TOperatorStatistics._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TOperatorStatistics,TOperatorStatistics._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-