Class TAINodeLocation

java.lang.Object
org.apache.iotdb.common.rpc.thrift.TAINodeLocation
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TAINodeLocation>, org.apache.thrift.TBase<TAINodeLocation,TAINodeLocation._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2025-09-08") public class TAINodeLocation extends Object implements org.apache.thrift.TBase<TAINodeLocation,TAINodeLocation._Fields>, Serializable, Cloneable, Comparable<TAINodeLocation>
See Also:
  • Field Details

    • aiNodeId

      public int aiNodeId
    • internalEndPoint

      public TEndPoint internalEndPoint
    • metaDataMap

      public static final Map<TAINodeLocation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
  • Constructor Details

    • TAINodeLocation

      public TAINodeLocation()
    • TAINodeLocation

      public TAINodeLocation(int aiNodeId, TEndPoint internalEndPoint)
    • TAINodeLocation

      public TAINodeLocation(TAINodeLocation other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

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

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<TAINodeLocation,TAINodeLocation._Fields>
    • getAiNodeId

      public int getAiNodeId()
    • setAiNodeId

      public TAINodeLocation setAiNodeId(int aiNodeId)
    • unsetAiNodeId

      public void unsetAiNodeId()
    • isSetAiNodeId

      public boolean isSetAiNodeId()
      Returns true if field aiNodeId is set (has been assigned a value) and false otherwise
    • setAiNodeIdIsSet

      public void setAiNodeIdIsSet(boolean value)
    • getInternalEndPoint

      public TEndPoint getInternalEndPoint()
    • setInternalEndPoint

      public TAINodeLocation 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)
    • setFieldValue

      public void setFieldValue(TAINodeLocation._Fields field, Object value)
      Specified by:
      setFieldValue in interface org.apache.thrift.TBase<TAINodeLocation,TAINodeLocation._Fields>
    • getFieldValue

      public Object getFieldValue(TAINodeLocation._Fields field)
      Specified by:
      getFieldValue in interface org.apache.thrift.TBase<TAINodeLocation,TAINodeLocation._Fields>
    • isSet

      public boolean isSet(TAINodeLocation._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<TAINodeLocation,TAINodeLocation._Fields>
    • equals

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

      public boolean equals(TAINodeLocation that)
    • hashCode

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

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

      public TAINodeLocation._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<TAINodeLocation,TAINodeLocation._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