Class CompactionRequest

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

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

  • Constructor Details

    • CompactionRequest

      public CompactionRequest()
    • CompactionRequest

      public CompactionRequest(String dbname, String tablename, CompactionType type)
    • CompactionRequest

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

    • deepCopy

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

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

      public String getDbname()
    • setDbname

      public CompactionRequest 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 CompactionRequest 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 CompactionRequest 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)
    • getType

      public CompactionType getType()
      See Also:
    • setType

      public CompactionRequest setType(CompactionType type)
      See Also:
    • unsetType

      public void unsetType()
    • isSetType

      public boolean isSetType()
      Returns true if field type is set (has been assigned a value) and false otherwise
    • setTypeIsSet

      public void setTypeIsSet(boolean value)
    • getRunas

      public String getRunas()
    • setRunas

      public CompactionRequest setRunas(String runas)
    • unsetRunas

      public void unsetRunas()
    • isSetRunas

      public boolean isSetRunas()
      Returns true if field runas is set (has been assigned a value) and false otherwise
    • setRunasIsSet

      public void setRunasIsSet(boolean value)
    • getPropertiesSize

      public int getPropertiesSize()
    • putToProperties

      public void putToProperties(String key, String val)
    • getProperties

      public Map<String,String> getProperties()
    • setProperties

      public CompactionRequest setProperties(Map<String,String> properties)
    • unsetProperties

      public void unsetProperties()
    • isSetProperties

      public boolean isSetProperties()
      Returns true if field properties is set (has been assigned a value) and false otherwise
    • setPropertiesIsSet

      public void setPropertiesIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(CompactionRequest that)
    • hashCode

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

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

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