Class TableMeta

java.lang.Object
io.trino.hive.thrift.metastore.TableMeta
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TableMeta>, org.apache.thrift.TBase<TableMeta,TableMeta._Fields>, org.apache.thrift.TSerializable

@Generated("Autogenerated by Thrift Compiler (0.17.0)") public class TableMeta extends Object implements org.apache.thrift.TBase<TableMeta,TableMeta._Fields>, Serializable, Cloneable, Comparable<TableMeta>
See Also:
  • Field Details

    • metaDataMap

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

    • TableMeta

      public TableMeta()
    • TableMeta

      public TableMeta(String dbName, String tableName, String tableType)
    • TableMeta

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

    • deepCopy

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

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

      public String getDbName()
    • setDbName

      public TableMeta setDbName(String dbName)
    • unsetDbName

      public void unsetDbName()
    • isSetDbName

      public boolean isSetDbName()
      Returns true if field dbName is set (has been assigned a value) and false otherwise
    • setDbNameIsSet

      public void setDbNameIsSet(boolean value)
    • getTableName

      public String getTableName()
    • setTableName

      public TableMeta setTableName(String tableName)
    • unsetTableName

      public void unsetTableName()
    • isSetTableName

      public boolean isSetTableName()
      Returns true if field tableName is set (has been assigned a value) and false otherwise
    • setTableNameIsSet

      public void setTableNameIsSet(boolean value)
    • getTableType

      public String getTableType()
    • setTableType

      public TableMeta setTableType(String tableType)
    • unsetTableType

      public void unsetTableType()
    • isSetTableType

      public boolean isSetTableType()
      Returns true if field tableType is set (has been assigned a value) and false otherwise
    • setTableTypeIsSet

      public void setTableTypeIsSet(boolean value)
    • getComments

      public String getComments()
    • setComments

      public TableMeta setComments(String comments)
    • unsetComments

      public void unsetComments()
    • isSetComments

      public boolean isSetComments()
      Returns true if field comments is set (has been assigned a value) and false otherwise
    • setCommentsIsSet

      public void setCommentsIsSet(boolean value)
    • getCatName

      public String getCatName()
    • setCatName

      public TableMeta setCatName(String catName)
    • unsetCatName

      public void unsetCatName()
    • isSetCatName

      public boolean isSetCatName()
      Returns true if field catName is set (has been assigned a value) and false otherwise
    • setCatNameIsSet

      public void setCatNameIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(TableMeta that)
    • hashCode

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

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

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