Class TDataNodeLocation
- java.lang.Object
-
- org.apache.iotdb.common.rpc.thrift.TDataNodeLocation
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TDataNodeLocation>,org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public class TDataNodeLocation extends Object implements org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>, Serializable, Cloneable, Comparable<TDataNodeLocation>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTDataNodeLocation._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TEndPointclientRpcEndPointintdataNodeIdTEndPointdataRegionConsensusEndPointTEndPointinternalEndPointstatic Map<TDataNodeLocation._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTEndPointmPPDataExchangeEndPointTEndPointschemaRegionConsensusEndPoint
-
Constructor Summary
Constructors Constructor Description TDataNodeLocation()TDataNodeLocation(int dataNodeId, TEndPoint clientRpcEndPoint, TEndPoint internalEndPoint, TEndPoint mPPDataExchangeEndPoint, TEndPoint dataRegionConsensusEndPoint, TEndPoint schemaRegionConsensusEndPoint)TDataNodeLocation(TDataNodeLocation other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TDataNodeLocation other)TDataNodeLocationdeepCopy()booleanequals(Object that)booleanequals(TDataNodeLocation that)TDataNodeLocation._FieldsfieldForId(int fieldId)TEndPointgetClientRpcEndPoint()intgetDataNodeId()TEndPointgetDataRegionConsensusEndPoint()ObjectgetFieldValue(TDataNodeLocation._Fields field)TEndPointgetInternalEndPoint()TEndPointgetMPPDataExchangeEndPoint()TEndPointgetSchemaRegionConsensusEndPoint()inthashCode()booleanisSet(TDataNodeLocation._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetClientRpcEndPoint()Returns true if field clientRpcEndPoint is set (has been assigned a value) and false otherwisebooleanisSetDataNodeId()Returns true if field dataNodeId is set (has been assigned a value) and false otherwisebooleanisSetDataRegionConsensusEndPoint()Returns true if field dataRegionConsensusEndPoint is set (has been assigned a value) and false otherwisebooleanisSetInternalEndPoint()Returns true if field internalEndPoint is set (has been assigned a value) and false otherwisebooleanisSetMPPDataExchangeEndPoint()Returns true if field mPPDataExchangeEndPoint is set (has been assigned a value) and false otherwisebooleanisSetSchemaRegionConsensusEndPoint()Returns true if field schemaRegionConsensusEndPoint is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TDataNodeLocationsetClientRpcEndPoint(TEndPoint clientRpcEndPoint)voidsetClientRpcEndPointIsSet(boolean value)TDataNodeLocationsetDataNodeId(int dataNodeId)voidsetDataNodeIdIsSet(boolean value)TDataNodeLocationsetDataRegionConsensusEndPoint(TEndPoint dataRegionConsensusEndPoint)voidsetDataRegionConsensusEndPointIsSet(boolean value)voidsetFieldValue(TDataNodeLocation._Fields field, Object value)TDataNodeLocationsetInternalEndPoint(TEndPoint internalEndPoint)voidsetInternalEndPointIsSet(boolean value)TDataNodeLocationsetMPPDataExchangeEndPoint(TEndPoint mPPDataExchangeEndPoint)voidsetMPPDataExchangeEndPointIsSet(boolean value)TDataNodeLocationsetSchemaRegionConsensusEndPoint(TEndPoint schemaRegionConsensusEndPoint)voidsetSchemaRegionConsensusEndPointIsSet(boolean value)StringtoString()voidunsetClientRpcEndPoint()voidunsetDataNodeId()voidunsetDataRegionConsensusEndPoint()voidunsetInternalEndPoint()voidunsetMPPDataExchangeEndPoint()voidunsetSchemaRegionConsensusEndPoint()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
dataNodeId
public int dataNodeId
-
clientRpcEndPoint
public TEndPoint clientRpcEndPoint
-
internalEndPoint
public TEndPoint internalEndPoint
-
mPPDataExchangeEndPoint
public TEndPoint mPPDataExchangeEndPoint
-
dataRegionConsensusEndPoint
public TEndPoint dataRegionConsensusEndPoint
-
schemaRegionConsensusEndPoint
public TEndPoint schemaRegionConsensusEndPoint
-
metaDataMap
public static final Map<TDataNodeLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TDataNodeLocation
public TDataNodeLocation()
-
TDataNodeLocation
public TDataNodeLocation(int dataNodeId, TEndPoint clientRpcEndPoint, TEndPoint internalEndPoint, TEndPoint mPPDataExchangeEndPoint, TEndPoint dataRegionConsensusEndPoint, TEndPoint schemaRegionConsensusEndPoint)
-
TDataNodeLocation
public TDataNodeLocation(TDataNodeLocation other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TDataNodeLocation deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
-
getDataNodeId
public int getDataNodeId()
-
setDataNodeId
public TDataNodeLocation setDataNodeId(int dataNodeId)
-
unsetDataNodeId
public void unsetDataNodeId()
-
isSetDataNodeId
public boolean isSetDataNodeId()
Returns true if field dataNodeId is set (has been assigned a value) and false otherwise
-
setDataNodeIdIsSet
public void setDataNodeIdIsSet(boolean value)
-
getClientRpcEndPoint
public TEndPoint getClientRpcEndPoint()
-
setClientRpcEndPoint
public TDataNodeLocation setClientRpcEndPoint(TEndPoint clientRpcEndPoint)
-
unsetClientRpcEndPoint
public void unsetClientRpcEndPoint()
-
isSetClientRpcEndPoint
public boolean isSetClientRpcEndPoint()
Returns true if field clientRpcEndPoint is set (has been assigned a value) and false otherwise
-
setClientRpcEndPointIsSet
public void setClientRpcEndPointIsSet(boolean value)
-
getInternalEndPoint
public TEndPoint getInternalEndPoint()
-
setInternalEndPoint
public TDataNodeLocation setInternalEndPoint(TEndPoint internalEndPoint)
-
unsetInternalEndPoint
public void unsetInternalEndPoint()
-
isSetInternalEndPoint
public boolean isSetInternalEndPoint()
Returns true if field internalEndPoint is set (has been assigned a value) and false otherwise
-
setInternalEndPointIsSet
public void setInternalEndPointIsSet(boolean value)
-
getMPPDataExchangeEndPoint
public TEndPoint getMPPDataExchangeEndPoint()
-
setMPPDataExchangeEndPoint
public TDataNodeLocation setMPPDataExchangeEndPoint(TEndPoint mPPDataExchangeEndPoint)
-
unsetMPPDataExchangeEndPoint
public void unsetMPPDataExchangeEndPoint()
-
isSetMPPDataExchangeEndPoint
public boolean isSetMPPDataExchangeEndPoint()
Returns true if field mPPDataExchangeEndPoint is set (has been assigned a value) and false otherwise
-
setMPPDataExchangeEndPointIsSet
public void setMPPDataExchangeEndPointIsSet(boolean value)
-
getDataRegionConsensusEndPoint
public TEndPoint getDataRegionConsensusEndPoint()
-
setDataRegionConsensusEndPoint
public TDataNodeLocation setDataRegionConsensusEndPoint(TEndPoint dataRegionConsensusEndPoint)
-
unsetDataRegionConsensusEndPoint
public void unsetDataRegionConsensusEndPoint()
-
isSetDataRegionConsensusEndPoint
public boolean isSetDataRegionConsensusEndPoint()
Returns true if field dataRegionConsensusEndPoint is set (has been assigned a value) and false otherwise
-
setDataRegionConsensusEndPointIsSet
public void setDataRegionConsensusEndPointIsSet(boolean value)
-
getSchemaRegionConsensusEndPoint
public TEndPoint getSchemaRegionConsensusEndPoint()
-
setSchemaRegionConsensusEndPoint
public TDataNodeLocation setSchemaRegionConsensusEndPoint(TEndPoint schemaRegionConsensusEndPoint)
-
unsetSchemaRegionConsensusEndPoint
public void unsetSchemaRegionConsensusEndPoint()
-
isSetSchemaRegionConsensusEndPoint
public boolean isSetSchemaRegionConsensusEndPoint()
Returns true if field schemaRegionConsensusEndPoint is set (has been assigned a value) and false otherwise
-
setSchemaRegionConsensusEndPointIsSet
public void setSchemaRegionConsensusEndPointIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TDataNodeLocation._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
-
getFieldValue
public Object getFieldValue(TDataNodeLocation._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
-
isSet
public boolean isSet(TDataNodeLocation._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<TDataNodeLocation,TDataNodeLocation._Fields>
-
equals
public boolean equals(TDataNodeLocation that)
-
compareTo
public int compareTo(TDataNodeLocation other)
- Specified by:
compareToin interfaceComparable<TDataNodeLocation>
-
fieldForId
public TDataNodeLocation._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._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
-
-