Class TDataNodeRemoveReq
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TDataNodeRemoveReq
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDataNodeRemoveReq>,org.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TDataNodeRemoveReq extends Object implements org.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>, Serializable, Cloneable, Comparable<TDataNodeRemoveReq>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDataNodeRemoveReq._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>dataNodeLocationsstatic Map<TDataNodeRemoveReq._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TDataNodeRemoveReq()TDataNodeRemoveReq(List<TDataNodeLocation> dataNodeLocations)TDataNodeRemoveReq(TDataNodeRemoveReq other)Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
dataNodeLocations
public List<TDataNodeLocation> dataNodeLocations
-
metaDataMap
public static final Map<TDataNodeRemoveReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDataNodeRemoveReq
public TDataNodeRemoveReq()
-
TDataNodeRemoveReq
public TDataNodeRemoveReq(List<TDataNodeLocation> dataNodeLocations)
-
TDataNodeRemoveReq
public TDataNodeRemoveReq(TDataNodeRemoveReq other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDataNodeRemoveReq deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>
-
getDataNodeLocationsSize
public int getDataNodeLocationsSize()
-
getDataNodeLocationsIterator
public Iterator<TDataNodeLocation> getDataNodeLocationsIterator()
-
addToDataNodeLocations
public void addToDataNodeLocations(TDataNodeLocation elem)
-
getDataNodeLocations
public List<TDataNodeLocation> getDataNodeLocations()
-
setDataNodeLocations
public TDataNodeRemoveReq setDataNodeLocations(List<TDataNodeLocation> dataNodeLocations)
-
unsetDataNodeLocations
public void unsetDataNodeLocations()
-
isSetDataNodeLocations
public boolean isSetDataNodeLocations()
Returns true if field dataNodeLocations is set (has been assigned a value) and false otherwise
-
setDataNodeLocationsIsSet
public void setDataNodeLocationsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDataNodeRemoveReq._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>
-
getFieldValue
public Object getFieldValue(TDataNodeRemoveReq._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>
-
isSet
public boolean isSet(TDataNodeRemoveReq._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<TDataNodeRemoveReq,TDataNodeRemoveReq._Fields>
-
equals
public boolean equals(TDataNodeRemoveReq that)
-
compareTo
public int compareTo(TDataNodeRemoveReq other)
- Specified by:
compareToin interfaceComparable<TDataNodeRemoveReq>
-
fieldForId
public TDataNodeRemoveReq._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDataNodeRemoveReq,TDataNodeRemoveReq._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
-
-