Class TNodeLocations

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

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

  • Constructor Details

    • TNodeLocations

      public TNodeLocations()
    • TNodeLocations

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

    • deepCopy

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

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

      public int getConfigNodeLocationsSize()
    • getConfigNodeLocationsIterator

      public Iterator<TConfigNodeLocation> getConfigNodeLocationsIterator()
    • addToConfigNodeLocations

      public void addToConfigNodeLocations(TConfigNodeLocation elem)
    • getConfigNodeLocations

      public List<TConfigNodeLocation> getConfigNodeLocations()
    • setConfigNodeLocations

      public TNodeLocations setConfigNodeLocations(List<TConfigNodeLocation> configNodeLocations)
    • unsetConfigNodeLocations

      public void unsetConfigNodeLocations()
    • isSetConfigNodeLocations

      public boolean isSetConfigNodeLocations()
      Returns true if field configNodeLocations is set (has been assigned a value) and false otherwise
    • setConfigNodeLocationsIsSet

      public void setConfigNodeLocationsIsSet(boolean value)
    • getDataNodeLocationsSize

      public int getDataNodeLocationsSize()
    • getDataNodeLocationsIterator

      public Iterator<TDataNodeLocation> getDataNodeLocationsIterator()
    • addToDataNodeLocations

      public void addToDataNodeLocations(TDataNodeLocation elem)
    • getDataNodeLocations

      public List<TDataNodeLocation> getDataNodeLocations()
    • setDataNodeLocations

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

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

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

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

      public boolean equals(TNodeLocations that)
    • hashCode

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

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

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