Package org.apache.iotdb.mpp.rpc.thrift
Class TResetPeerListReq
- java.lang.Object
-
- org.apache.iotdb.mpp.rpc.thrift.TResetPeerListReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TResetPeerListReq>,org.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-06-27") public class TResetPeerListReq extends Object implements org.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._Fields>, Serializable, Cloneable, Comparable<TResetPeerListReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTResetPeerListReq._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<TDataNodeLocation>correctLocationsstatic Map<TResetPeerListReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTConsensusGroupIdregionId
-
Constructor Summary
Constructors Constructor Description TResetPeerListReq()TResetPeerListReq(TConsensusGroupId regionId, List<TDataNodeLocation> correctLocations)TResetPeerListReq(TResetPeerListReq other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToCorrectLocations(TDataNodeLocation elem)voidclear()intcompareTo(TResetPeerListReq other)TResetPeerListReqdeepCopy()booleanequals(Object that)booleanequals(TResetPeerListReq that)TResetPeerListReq._FieldsfieldForId(int fieldId)List<TDataNodeLocation>getCorrectLocations()Iterator<TDataNodeLocation>getCorrectLocationsIterator()intgetCorrectLocationsSize()ObjectgetFieldValue(TResetPeerListReq._Fields field)TConsensusGroupIdgetRegionId()inthashCode()booleanisSet(TResetPeerListReq._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCorrectLocations()Returns true if field correctLocations is set (has been assigned a value) and false otherwisebooleanisSetRegionId()Returns true if field regionId is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TResetPeerListReqsetCorrectLocations(List<TDataNodeLocation> correctLocations)voidsetCorrectLocationsIsSet(boolean value)voidsetFieldValue(TResetPeerListReq._Fields field, Object value)TResetPeerListReqsetRegionId(TConsensusGroupId regionId)voidsetRegionIdIsSet(boolean value)StringtoString()voidunsetCorrectLocations()voidunsetRegionId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
regionId
public TConsensusGroupId regionId
-
correctLocations
public List<TDataNodeLocation> correctLocations
-
metaDataMap
public static final Map<TResetPeerListReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TResetPeerListReq
public TResetPeerListReq()
-
TResetPeerListReq
public TResetPeerListReq(TConsensusGroupId regionId, List<TDataNodeLocation> correctLocations)
-
TResetPeerListReq
public TResetPeerListReq(TResetPeerListReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TResetPeerListReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._Fields>
-
getRegionId
public TConsensusGroupId getRegionId()
-
setRegionId
public TResetPeerListReq setRegionId(TConsensusGroupId regionId)
-
unsetRegionId
public void unsetRegionId()
-
isSetRegionId
public boolean isSetRegionId()
Returns true if field regionId is set (has been assigned a value) and false otherwise
-
setRegionIdIsSet
public void setRegionIdIsSet(boolean value)
-
getCorrectLocationsSize
public int getCorrectLocationsSize()
-
getCorrectLocationsIterator
public Iterator<TDataNodeLocation> getCorrectLocationsIterator()
-
addToCorrectLocations
public void addToCorrectLocations(TDataNodeLocation elem)
-
getCorrectLocations
public List<TDataNodeLocation> getCorrectLocations()
-
setCorrectLocations
public TResetPeerListReq setCorrectLocations(List<TDataNodeLocation> correctLocations)
-
unsetCorrectLocations
public void unsetCorrectLocations()
-
isSetCorrectLocations
public boolean isSetCorrectLocations()
Returns true if field correctLocations is set (has been assigned a value) and false otherwise
-
setCorrectLocationsIsSet
public void setCorrectLocationsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TResetPeerListReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._Fields>
-
getFieldValue
public Object getFieldValue(TResetPeerListReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._Fields>
-
isSet
public boolean isSet(TResetPeerListReq._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<TResetPeerListReq,TResetPeerListReq._Fields>
-
equals
public boolean equals(TResetPeerListReq that)
-
compareTo
public int compareTo(TResetPeerListReq other)
- Specified by:
compareToin interfaceComparable<TResetPeerListReq>
-
fieldForId
public TResetPeerListReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TResetPeerListReq,TResetPeerListReq._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
-
-