Class ColumnStatisticsDesc

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

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

  • Constructor Details

    • ColumnStatisticsDesc

      public ColumnStatisticsDesc()
    • ColumnStatisticsDesc

      public ColumnStatisticsDesc(boolean isTblLevel, String dbName, String tableName)
    • ColumnStatisticsDesc

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

    • deepCopy

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

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

      public boolean isIsTblLevel()
    • setIsTblLevel

      public ColumnStatisticsDesc setIsTblLevel(boolean isTblLevel)
    • unsetIsTblLevel

      public void unsetIsTblLevel()
    • isSetIsTblLevel

      public boolean isSetIsTblLevel()
      Returns true if field isTblLevel is set (has been assigned a value) and false otherwise
    • setIsTblLevelIsSet

      public void setIsTblLevelIsSet(boolean value)
    • getDbName

      public String getDbName()
    • setDbName

      public ColumnStatisticsDesc 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 ColumnStatisticsDesc 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)
    • getPartName

      public String getPartName()
    • setPartName

      public ColumnStatisticsDesc setPartName(String partName)
    • unsetPartName

      public void unsetPartName()
    • isSetPartName

      public boolean isSetPartName()
      Returns true if field partName is set (has been assigned a value) and false otherwise
    • setPartNameIsSet

      public void setPartNameIsSet(boolean value)
    • getLastAnalyzed

      public long getLastAnalyzed()
    • setLastAnalyzed

      public ColumnStatisticsDesc setLastAnalyzed(long lastAnalyzed)
    • unsetLastAnalyzed

      public void unsetLastAnalyzed()
    • isSetLastAnalyzed

      public boolean isSetLastAnalyzed()
      Returns true if field lastAnalyzed is set (has been assigned a value) and false otherwise
    • setLastAnalyzedIsSet

      public void setLastAnalyzedIsSet(boolean value)
    • getCatName

      public String getCatName()
    • setCatName

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

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

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

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

      public boolean equals(ColumnStatisticsDesc that)
    • hashCode

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

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

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