Class TSchemaNode

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

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

    • nodeName

      public String nodeName
    • nodeType

      public byte nodeType
    • metaDataMap

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

    • TSchemaNode

      public TSchemaNode()
    • TSchemaNode

      public TSchemaNode(String nodeName, byte nodeType)
    • TSchemaNode

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

    • deepCopy

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

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

      public String getNodeName()
    • setNodeName

      public TSchemaNode setNodeName(String nodeName)
    • unsetNodeName

      public void unsetNodeName()
    • isSetNodeName

      public boolean isSetNodeName()
      Returns true if field nodeName is set (has been assigned a value) and false otherwise
    • setNodeNameIsSet

      public void setNodeNameIsSet(boolean value)
    • getNodeType

      public byte getNodeType()
    • setNodeType

      public TSchemaNode setNodeType(byte nodeType)
    • unsetNodeType

      public void unsetNodeType()
    • isSetNodeType

      public boolean isSetNodeType()
      Returns true if field nodeType is set (has been assigned a value) and false otherwise
    • setNodeTypeIsSet

      public void setNodeTypeIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(TSchemaNode that)
    • hashCode

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

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

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