Class AlterTableRequest

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

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

  • Constructor Details

    • AlterTableRequest

      public AlterTableRequest()
    • AlterTableRequest

      public AlterTableRequest(String dbName, String tableName, Table table)
    • AlterTableRequest

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

    • deepCopy

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

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

      public String getCatName()
    • setCatName

      public AlterTableRequest 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)
    • getDbName

      public String getDbName()
    • setDbName

      public AlterTableRequest 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 AlterTableRequest 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)
    • getTable

      public Table getTable()
    • setTable

      public AlterTableRequest setTable(Table table)
    • unsetTable

      public void unsetTable()
    • isSetTable

      public boolean isSetTable()
      Returns true if field table is set (has been assigned a value) and false otherwise
    • setTableIsSet

      public void setTableIsSet(boolean value)
    • getEnvironmentContext

      public EnvironmentContext getEnvironmentContext()
    • setEnvironmentContext

      public AlterTableRequest setEnvironmentContext(EnvironmentContext environmentContext)
    • unsetEnvironmentContext

      public void unsetEnvironmentContext()
    • isSetEnvironmentContext

      public boolean isSetEnvironmentContext()
      Returns true if field environmentContext is set (has been assigned a value) and false otherwise
    • setEnvironmentContextIsSet

      public void setEnvironmentContextIsSet(boolean value)
    • getWriteId

      public long getWriteId()
    • setWriteId

      public AlterTableRequest setWriteId(long writeId)
    • unsetWriteId

      public void unsetWriteId()
    • isSetWriteId

      public boolean isSetWriteId()
      Returns true if field writeId is set (has been assigned a value) and false otherwise
    • setWriteIdIsSet

      public void setWriteIdIsSet(boolean value)
    • getValidWriteIdList

      public String getValidWriteIdList()
    • setValidWriteIdList

      public AlterTableRequest setValidWriteIdList(String validWriteIdList)
    • unsetValidWriteIdList

      public void unsetValidWriteIdList()
    • isSetValidWriteIdList

      public boolean isSetValidWriteIdList()
      Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise
    • setValidWriteIdListIsSet

      public void setValidWriteIdListIsSet(boolean value)
    • getProcessorCapabilitiesSize

      public int getProcessorCapabilitiesSize()
    • getProcessorCapabilitiesIterator

      public Iterator<String> getProcessorCapabilitiesIterator()
    • addToProcessorCapabilities

      public void addToProcessorCapabilities(String elem)
    • getProcessorCapabilities

      public List<String> getProcessorCapabilities()
    • setProcessorCapabilities

      public AlterTableRequest setProcessorCapabilities(List<String> processorCapabilities)
    • unsetProcessorCapabilities

      public void unsetProcessorCapabilities()
    • isSetProcessorCapabilities

      public boolean isSetProcessorCapabilities()
      Returns true if field processorCapabilities is set (has been assigned a value) and false otherwise
    • setProcessorCapabilitiesIsSet

      public void setProcessorCapabilitiesIsSet(boolean value)
    • getProcessorIdentifier

      public String getProcessorIdentifier()
    • setProcessorIdentifier

      public AlterTableRequest setProcessorIdentifier(String processorIdentifier)
    • unsetProcessorIdentifier

      public void unsetProcessorIdentifier()
    • isSetProcessorIdentifier

      public boolean isSetProcessorIdentifier()
      Returns true if field processorIdentifier is set (has been assigned a value) and false otherwise
    • setProcessorIdentifierIsSet

      public void setProcessorIdentifierIsSet(boolean value)
    • setFieldValue

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

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

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

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

      public boolean equals(AlterTableRequest that)
    • hashCode

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

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

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