Class TShowClusterResp
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TShowClusterResp
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TShowClusterResp>,org.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TShowClusterResp extends Object implements org.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._Fields>, Serializable, Cloneable, Comparable<TShowClusterResp>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTShowClusterResp._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>configNodeListList<TDataNodeLocation>dataNodeListstatic Map<TShowClusterResp._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapMap<Integer,String>nodeStatusMap<Integer,TNodeVersionInfo>nodeVersionInfoTSStatusstatus
-
Constructor Summary
Constructors Constructor Description TShowClusterResp()TShowClusterResp(TSStatus status, List<TConfigNodeLocation> configNodeList, List<TDataNodeLocation> dataNodeList, Map<Integer,String> nodeStatus, Map<Integer,TNodeVersionInfo> nodeVersionInfo)TShowClusterResp(TShowClusterResp other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToConfigNodeList(TConfigNodeLocation elem)voidaddToDataNodeList(TDataNodeLocation elem)voidclear()intcompareTo(TShowClusterResp other)TShowClusterRespdeepCopy()booleanequals(Object that)booleanequals(TShowClusterResp that)TShowClusterResp._FieldsfieldForId(int fieldId)List<TConfigNodeLocation>getConfigNodeList()Iterator<TConfigNodeLocation>getConfigNodeListIterator()intgetConfigNodeListSize()List<TDataNodeLocation>getDataNodeList()Iterator<TDataNodeLocation>getDataNodeListIterator()intgetDataNodeListSize()ObjectgetFieldValue(TShowClusterResp._Fields field)Map<Integer,String>getNodeStatus()intgetNodeStatusSize()Map<Integer,TNodeVersionInfo>getNodeVersionInfo()intgetNodeVersionInfoSize()TSStatusgetStatus()inthashCode()booleanisSet(TShowClusterResp._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 otherwisebooleanisSetDataNodeList()Returns true if field dataNodeList is set (has been assigned a value) and false otherwisebooleanisSetNodeStatus()Returns true if field nodeStatus is set (has been assigned a value) and false otherwisebooleanisSetNodeVersionInfo()Returns true if field nodeVersionInfo is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidputToNodeStatus(int key, String val)voidputToNodeVersionInfo(int key, TNodeVersionInfo val)voidread(org.apache.thrift.protocol.TProtocol iprot)TShowClusterRespsetConfigNodeList(List<TConfigNodeLocation> configNodeList)voidsetConfigNodeListIsSet(boolean value)TShowClusterRespsetDataNodeList(List<TDataNodeLocation> dataNodeList)voidsetDataNodeListIsSet(boolean value)voidsetFieldValue(TShowClusterResp._Fields field, Object value)TShowClusterRespsetNodeStatus(Map<Integer,String> nodeStatus)voidsetNodeStatusIsSet(boolean value)TShowClusterRespsetNodeVersionInfo(Map<Integer,TNodeVersionInfo> nodeVersionInfo)voidsetNodeVersionInfoIsSet(boolean value)TShowClusterRespsetStatus(TSStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetConfigNodeList()voidunsetDataNodeList()voidunsetNodeStatus()voidunsetNodeVersionInfo()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
status
public TSStatus status
-
configNodeList
public List<TConfigNodeLocation> configNodeList
-
dataNodeList
public List<TDataNodeLocation> dataNodeList
-
nodeVersionInfo
public Map<Integer,TNodeVersionInfo> nodeVersionInfo
-
metaDataMap
public static final Map<TShowClusterResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TShowClusterResp
public TShowClusterResp()
-
TShowClusterResp
public TShowClusterResp(TSStatus status, List<TConfigNodeLocation> configNodeList, List<TDataNodeLocation> dataNodeList, Map<Integer,String> nodeStatus, Map<Integer,TNodeVersionInfo> nodeVersionInfo)
-
TShowClusterResp
public TShowClusterResp(TShowClusterResp other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TShowClusterResp deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._Fields>
-
getStatus
public TSStatus getStatus()
-
setStatus
public TShowClusterResp 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 TShowClusterResp 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)
-
getDataNodeListSize
public int getDataNodeListSize()
-
getDataNodeListIterator
public Iterator<TDataNodeLocation> getDataNodeListIterator()
-
addToDataNodeList
public void addToDataNodeList(TDataNodeLocation elem)
-
getDataNodeList
public List<TDataNodeLocation> getDataNodeList()
-
setDataNodeList
public TShowClusterResp setDataNodeList(List<TDataNodeLocation> dataNodeList)
-
unsetDataNodeList
public void unsetDataNodeList()
-
isSetDataNodeList
public boolean isSetDataNodeList()
Returns true if field dataNodeList is set (has been assigned a value) and false otherwise
-
setDataNodeListIsSet
public void setDataNodeListIsSet(boolean value)
-
getNodeStatusSize
public int getNodeStatusSize()
-
putToNodeStatus
public void putToNodeStatus(int key, String val)
-
setNodeStatus
public TShowClusterResp setNodeStatus(Map<Integer,String> nodeStatus)
-
unsetNodeStatus
public void unsetNodeStatus()
-
isSetNodeStatus
public boolean isSetNodeStatus()
Returns true if field nodeStatus is set (has been assigned a value) and false otherwise
-
setNodeStatusIsSet
public void setNodeStatusIsSet(boolean value)
-
getNodeVersionInfoSize
public int getNodeVersionInfoSize()
-
putToNodeVersionInfo
public void putToNodeVersionInfo(int key, TNodeVersionInfo val)
-
getNodeVersionInfo
public Map<Integer,TNodeVersionInfo> getNodeVersionInfo()
-
setNodeVersionInfo
public TShowClusterResp setNodeVersionInfo(Map<Integer,TNodeVersionInfo> nodeVersionInfo)
-
unsetNodeVersionInfo
public void unsetNodeVersionInfo()
-
isSetNodeVersionInfo
public boolean isSetNodeVersionInfo()
Returns true if field nodeVersionInfo is set (has been assigned a value) and false otherwise
-
setNodeVersionInfoIsSet
public void setNodeVersionInfoIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TShowClusterResp._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._Fields>
-
getFieldValue
public Object getFieldValue(TShowClusterResp._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._Fields>
-
isSet
public boolean isSet(TShowClusterResp._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<TShowClusterResp,TShowClusterResp._Fields>
-
equals
public boolean equals(TShowClusterResp that)
-
compareTo
public int compareTo(TShowClusterResp other)
- Specified by:
compareToin interfaceComparable<TShowClusterResp>
-
fieldForId
public TShowClusterResp._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TShowClusterResp,TShowClusterResp._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
-
-