Class DropConstraintRequest

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

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

  • Constructor Details

    • DropConstraintRequest

      public DropConstraintRequest()
    • DropConstraintRequest

      public DropConstraintRequest(String dbname, String tablename, String constraintname)
    • DropConstraintRequest

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

    • deepCopy

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

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

      public String getDbname()
    • setDbname

      public DropConstraintRequest 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 DropConstraintRequest 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)
    • getConstraintname

      public String getConstraintname()
    • setConstraintname

      public DropConstraintRequest setConstraintname(String constraintname)
    • unsetConstraintname

      public void unsetConstraintname()
    • isSetConstraintname

      public boolean isSetConstraintname()
      Returns true if field constraintname is set (has been assigned a value) and false otherwise
    • setConstraintnameIsSet

      public void setConstraintnameIsSet(boolean value)
    • getCatName

      public String getCatName()
    • setCatName

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

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

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

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

      public boolean equals(DropConstraintRequest that)
    • hashCode

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

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

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