Class BasicTxnInfo

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

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

    • metaDataMap

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

    • BasicTxnInfo

      public BasicTxnInfo()
    • BasicTxnInfo

      public BasicTxnInfo(boolean isnull)
    • BasicTxnInfo

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

    • deepCopy

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

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

      public boolean isIsnull()
    • setIsnull

      public BasicTxnInfo setIsnull(boolean isnull)
    • unsetIsnull

      public void unsetIsnull()
    • isSetIsnull

      public boolean isSetIsnull()
      Returns true if field isnull is set (has been assigned a value) and false otherwise
    • setIsnullIsSet

      public void setIsnullIsSet(boolean value)
    • getTime

      public long getTime()
    • setTime

      public BasicTxnInfo setTime(long time)
    • unsetTime

      public void unsetTime()
    • isSetTime

      public boolean isSetTime()
      Returns true if field time is set (has been assigned a value) and false otherwise
    • setTimeIsSet

      public void setTimeIsSet(boolean value)
    • getTxnid

      public long getTxnid()
    • setTxnid

      public BasicTxnInfo setTxnid(long txnid)
    • unsetTxnid

      public void unsetTxnid()
    • isSetTxnid

      public boolean isSetTxnid()
      Returns true if field txnid is set (has been assigned a value) and false otherwise
    • setTxnidIsSet

      public void setTxnidIsSet(boolean value)
    • getDbname

      public String getDbname()
    • setDbname

      public BasicTxnInfo 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 BasicTxnInfo 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)
    • getPartitionname

      public String getPartitionname()
    • setPartitionname

      public BasicTxnInfo setPartitionname(String partitionname)
    • unsetPartitionname

      public void unsetPartitionname()
    • isSetPartitionname

      public boolean isSetPartitionname()
      Returns true if field partitionname is set (has been assigned a value) and false otherwise
    • setPartitionnameIsSet

      public void setPartitionnameIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(BasicTxnInfo that)
    • hashCode

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

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

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