Class TDataNodeRestartResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TDataNodeRestartResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDataNodeRestartResp>,org.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TDataNodeRestartResp extends Object implements org.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._Fields>, Serializable, Cloneable, Comparable<TDataNodeRestartResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDataNodeRestartResp._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<TConfigNodeLocation>configNodeListstatic Map<TDataNodeRestartResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTRuntimeConfigurationruntimeConfigurationTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TDataNodeRestartResp()TDataNodeRestartResp(TSStatus status, List<TConfigNodeLocation> configNodeList)TDataNodeRestartResp(TDataNodeRestartResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToConfigNodeList(TConfigNodeLocation elem)voidclear()intcompareTo(TDataNodeRestartResp other)TDataNodeRestartRespdeepCopy()booleanequals(Object that)booleanequals(TDataNodeRestartResp that)TDataNodeRestartResp._FieldsfieldForId(int fieldId)List<TConfigNodeLocation>getConfigNodeList()Iterator<TConfigNodeLocation>getConfigNodeListIterator()intgetConfigNodeListSize()ObjectgetFieldValue(TDataNodeRestartResp._Fields field)TRuntimeConfigurationgetRuntimeConfiguration()TSStatusgetStatus()inthashCode()booleanisSet(TDataNodeRestartResp._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetConfigNodeList()Returns true if field configNodeList is set (has been assigned a value) and false otherwisebooleanisSetRuntimeConfiguration()Returns true if field runtimeConfiguration is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TDataNodeRestartRespsetConfigNodeList(List<TConfigNodeLocation> configNodeList)voidsetConfigNodeListIsSet(boolean value)voidsetFieldValue(TDataNodeRestartResp._Fields field, Object value)TDataNodeRestartRespsetRuntimeConfiguration(TRuntimeConfiguration runtimeConfiguration)voidsetRuntimeConfigurationIsSet(boolean value)TDataNodeRestartRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetConfigNodeList()voidunsetRuntimeConfiguration()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
configNodeList
public List<TConfigNodeLocation> configNodeList
-
runtimeConfiguration
public TRuntimeConfiguration runtimeConfiguration
-
metaDataMap
public static final Map<TDataNodeRestartResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDataNodeRestartResp
public TDataNodeRestartResp()
-
TDataNodeRestartResp
public TDataNodeRestartResp(TSStatus status, List<TConfigNodeLocation> configNodeList)
-
TDataNodeRestartResp
public TDataNodeRestartResp(TDataNodeRestartResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDataNodeRestartResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TDataNodeRestartResp setStatus(TSStatus status)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
getConfigNodeListSize
public int getConfigNodeListSize()
-
getConfigNodeListIterator
public Iterator<TConfigNodeLocation> getConfigNodeListIterator()
-
addToConfigNodeList
public void addToConfigNodeList(TConfigNodeLocation elem)
-
getConfigNodeList
public List<TConfigNodeLocation> getConfigNodeList()
-
setConfigNodeList
public TDataNodeRestartResp setConfigNodeList(List<TConfigNodeLocation> configNodeList)
-
unsetConfigNodeList
public void unsetConfigNodeList()
-
isSetConfigNodeList
public boolean isSetConfigNodeList()
Returns true if field configNodeList is set (has been assigned a value) and false otherwise
-
setConfigNodeListIsSet
public void setConfigNodeListIsSet(boolean value)
-
getRuntimeConfiguration
public TRuntimeConfiguration getRuntimeConfiguration()
-
setRuntimeConfiguration
public TDataNodeRestartResp setRuntimeConfiguration(TRuntimeConfiguration runtimeConfiguration)
-
unsetRuntimeConfiguration
public void unsetRuntimeConfiguration()
-
isSetRuntimeConfiguration
public boolean isSetRuntimeConfiguration()
Returns true if field runtimeConfiguration is set (has been assigned a value) and false otherwise
-
setRuntimeConfigurationIsSet
public void setRuntimeConfigurationIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDataNodeRestartResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._Fields>
-
getFieldValue
public Object getFieldValue(TDataNodeRestartResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._Fields>
-
isSet
public boolean isSet(TDataNodeRestartResp._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<TDataNodeRestartResp,TDataNodeRestartResp._Fields>
-
equals
public boolean equals(TDataNodeRestartResp that)
-
compareTo
public int compareTo(TDataNodeRestartResp other)
- Specified by:
compareToin interfaceComparable<TDataNodeRestartResp>
-
fieldForId
public TDataNodeRestartResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDataNodeRestartResp,TDataNodeRestartResp._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
-
-