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="2025-09-08")
public class TDataNodeLocation
extends Object
implements org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>, Serializable, Cloneable, Comparable<TDataNodeLocation>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final Map<TDataNodeLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TDataNodeLocation other) deepCopy()booleanbooleanequals(TDataNodeLocation that) fieldForId(int fieldId) intinthashCode()booleanisSet(TDataNodeLocation._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field clientRpcEndPoint is set (has been assigned a value) and false otherwisebooleanReturns true if field dataNodeId is set (has been assigned a value) and false otherwisebooleanReturns true if field dataRegionConsensusEndPoint is set (has been assigned a value) and false otherwisebooleanReturns true if field internalEndPoint is set (has been assigned a value) and false otherwisebooleanReturns true if field mPPDataExchangeEndPoint is set (has been assigned a value) and false otherwisebooleanReturns true if field schemaRegionConsensusEndPoint is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setClientRpcEndPoint(TEndPoint clientRpcEndPoint) voidsetClientRpcEndPointIsSet(boolean value) setDataNodeId(int dataNodeId) voidsetDataNodeIdIsSet(boolean value) setDataRegionConsensusEndPoint(TEndPoint dataRegionConsensusEndPoint) voidsetDataRegionConsensusEndPointIsSet(boolean value) voidsetFieldValue(TDataNodeLocation._Fields field, Object value) setInternalEndPoint(TEndPoint internalEndPoint) voidsetInternalEndPointIsSet(boolean value) setMPPDataExchangeEndPoint(TEndPoint mPPDataExchangeEndPoint) voidsetMPPDataExchangeEndPointIsSet(boolean value) setSchemaRegionConsensusEndPoint(TEndPoint schemaRegionConsensusEndPoint) voidsetSchemaRegionConsensusEndPointIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
dataNodeId
public int dataNodeId -
clientRpcEndPoint
-
internalEndPoint
-
mPPDataExchangeEndPoint
-
dataRegionConsensusEndPoint
-
schemaRegionConsensusEndPoint
-
metaDataMap
public static final Map<TDataNodeLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TDataNodeLocation
public TDataNodeLocation() -
TDataNodeLocation
-
TDataNodeLocation
Performs a deep copy on other.
-
-
Method Details
-
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
-
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
-
setClientRpcEndPoint
-
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
-
setInternalEndPoint
-
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
-
setMPPDataExchangeEndPoint
-
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
-
setDataRegionConsensusEndPoint
-
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
-
setSchemaRegionConsensusEndPoint
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TDataNodeLocation>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-