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:
  • Field Details

    • 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 Details

    • 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 Details

    • deepCopy

      public TDataNodeLocation deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.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:
      setFieldValue in interface org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
    • getFieldValue

      public Object getFieldValue(TDataNodeLocation._Fields field)
      Specified by:
      getFieldValue in interface org.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:
      isSet in interface org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TDataNodeLocation that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(TDataNodeLocation other)
      Specified by:
      compareTo in interface Comparable<TDataNodeLocation>
    • fieldForId

      public TDataNodeLocation._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TDataNodeLocation,TDataNodeLocation._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException