Class TAddConsensusGroupReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TAddConsensusGroupReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TAddConsensusGroupReq>,org.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TAddConsensusGroupReq extends Object implements org.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>, Serializable, Cloneable, Comparable<TAddConsensusGroupReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTAddConsensusGroupReq._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<TAddConsensusGroupReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TAddConsensusGroupReq()TAddConsensusGroupReq(List<TConfigNodeLocation> configNodeList)TAddConsensusGroupReq(TAddConsensusGroupReq other)Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
configNodeList
public List<TConfigNodeLocation> configNodeList
-
metaDataMap
public static final Map<TAddConsensusGroupReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TAddConsensusGroupReq
public TAddConsensusGroupReq()
-
TAddConsensusGroupReq
public TAddConsensusGroupReq(List<TConfigNodeLocation> configNodeList)
-
TAddConsensusGroupReq
public TAddConsensusGroupReq(TAddConsensusGroupReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TAddConsensusGroupReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>
-
getConfigNodeListSize
public int getConfigNodeListSize()
-
getConfigNodeListIterator
public Iterator<TConfigNodeLocation> getConfigNodeListIterator()
-
addToConfigNodeList
public void addToConfigNodeList(TConfigNodeLocation elem)
-
getConfigNodeList
public List<TConfigNodeLocation> getConfigNodeList()
-
setConfigNodeList
public TAddConsensusGroupReq 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)
-
setFieldValue
public void setFieldValue(TAddConsensusGroupReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>
-
getFieldValue
public Object getFieldValue(TAddConsensusGroupReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>
-
isSet
public boolean isSet(TAddConsensusGroupReq._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<TAddConsensusGroupReq,TAddConsensusGroupReq._Fields>
-
equals
public boolean equals(TAddConsensusGroupReq that)
-
compareTo
public int compareTo(TAddConsensusGroupReq other)
- Specified by:
compareToin interfaceComparable<TAddConsensusGroupReq>
-
fieldForId
public TAddConsensusGroupReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TAddConsensusGroupReq,TAddConsensusGroupReq._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
-
-