Class ForeignKeysRequest

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

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

  • Constructor Details

    • ForeignKeysRequest

      public ForeignKeysRequest()
    • ForeignKeysRequest

      public ForeignKeysRequest(String parent_db_name, String parent_tbl_name, String foreign_db_name, String foreign_tbl_name)
    • ForeignKeysRequest

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

    • deepCopy

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

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

      public String getParentDbName()
    • setParentDbName

      public ForeignKeysRequest setParentDbName(String parent_db_name)
    • unsetParentDbName

      public void unsetParentDbName()
    • isSetParentDbName

      public boolean isSetParentDbName()
      Returns true if field parent_db_name is set (has been assigned a value) and false otherwise
    • setParentDbNameIsSet

      public void setParentDbNameIsSet(boolean value)
    • getParentTblName

      public String getParentTblName()
    • setParentTblName

      public ForeignKeysRequest setParentTblName(String parent_tbl_name)
    • unsetParentTblName

      public void unsetParentTblName()
    • isSetParentTblName

      public boolean isSetParentTblName()
      Returns true if field parent_tbl_name is set (has been assigned a value) and false otherwise
    • setParentTblNameIsSet

      public void setParentTblNameIsSet(boolean value)
    • getForeignDbName

      public String getForeignDbName()
    • setForeignDbName

      public ForeignKeysRequest setForeignDbName(String foreign_db_name)
    • unsetForeignDbName

      public void unsetForeignDbName()
    • isSetForeignDbName

      public boolean isSetForeignDbName()
      Returns true if field foreign_db_name is set (has been assigned a value) and false otherwise
    • setForeignDbNameIsSet

      public void setForeignDbNameIsSet(boolean value)
    • getForeignTblName

      public String getForeignTblName()
    • setForeignTblName

      public ForeignKeysRequest setForeignTblName(String foreign_tbl_name)
    • unsetForeignTblName

      public void unsetForeignTblName()
    • isSetForeignTblName

      public boolean isSetForeignTblName()
      Returns true if field foreign_tbl_name is set (has been assigned a value) and false otherwise
    • setForeignTblNameIsSet

      public void setForeignTblNameIsSet(boolean value)
    • getCatName

      public String getCatName()
    • setCatName

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

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

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

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

      public boolean equals(ForeignKeysRequest that)
    • hashCode

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

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

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