Class RuntimeStat

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

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

    • metaDataMap

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

    • RuntimeStat

      public RuntimeStat()
    • RuntimeStat

      public RuntimeStat(int weight, ByteBuffer payload)
    • RuntimeStat

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

    • deepCopy

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

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

      public int getCreateTime()
    • setCreateTime

      public RuntimeStat setCreateTime(int createTime)
    • unsetCreateTime

      public void unsetCreateTime()
    • isSetCreateTime

      public boolean isSetCreateTime()
      Returns true if field createTime is set (has been assigned a value) and false otherwise
    • setCreateTimeIsSet

      public void setCreateTimeIsSet(boolean value)
    • getWeight

      public int getWeight()
    • setWeight

      public RuntimeStat setWeight(int weight)
    • unsetWeight

      public void unsetWeight()
    • isSetWeight

      public boolean isSetWeight()
      Returns true if field weight is set (has been assigned a value) and false otherwise
    • setWeightIsSet

      public void setWeightIsSet(boolean value)
    • getPayload

      public byte[] getPayload()
    • bufferForPayload

      public ByteBuffer bufferForPayload()
    • setPayload

      public RuntimeStat setPayload(byte[] payload)
    • setPayload

      public RuntimeStat setPayload(ByteBuffer payload)
    • unsetPayload

      public void unsetPayload()
    • isSetPayload

      public boolean isSetPayload()
      Returns true if field payload is set (has been assigned a value) and false otherwise
    • setPayloadIsSet

      public void setPayloadIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(RuntimeStat that)
    • hashCode

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

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

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