Package io.trino.hive.thrift.metastore
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ForeignKeysRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.ForeignKeysRequest(String parent_db_name, String parent_tbl_name, String foreign_db_name, String foreign_tbl_name) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ForeignKeysRequest other) deepCopy()booleanequals(ForeignKeysRequest that) booleanfieldForId(int fieldId) inthashCode()booleanisSet(ForeignKeysRequest._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field catName is set (has been assigned a value) and false otherwisebooleanReturns true if field foreign_db_name is set (has been assigned a value) and false otherwisebooleanReturns true if field foreign_tbl_name is set (has been assigned a value) and false otherwisebooleanReturns true if field parent_db_name is set (has been assigned a value) and false otherwisebooleanReturns true if field parent_tbl_name is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCatName(String catName) voidsetCatNameIsSet(boolean value) voidsetFieldValue(ForeignKeysRequest._Fields field, Object value) setForeignDbName(String foreign_db_name) voidsetForeignDbNameIsSet(boolean value) setForeignTblName(String foreign_tbl_name) voidsetForeignTblNameIsSet(boolean value) setParentDbName(String parent_db_name) voidsetParentDbNameIsSet(boolean value) setParentTblName(String parent_tbl_name) voidsetParentTblNameIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<ForeignKeysRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ForeignKeysRequest
public ForeignKeysRequest() -
ForeignKeysRequest
-
ForeignKeysRequest
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
-
getParentDbName
-
setParentDbName
-
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
-
setParentTblName
-
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
-
setForeignDbName
-
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
-
setForeignTblName
-
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
-
setCatName
-
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ForeignKeysRequest>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-