@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class ForeignKeysRequest extends Object implements org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>, Serializable, Cloneable, Comparable<ForeignKeysRequest>
Modifier and Type | Class and Description |
---|---|
static class |
ForeignKeysRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ForeignKeysRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ForeignKeysRequest() |
ForeignKeysRequest(ForeignKeysRequest other)
Performs a deep copy on other.
|
ForeignKeysRequest(String parent_db_name,
String parent_tbl_name,
String foreign_db_name,
String foreign_tbl_name) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ForeignKeysRequest other) |
ForeignKeysRequest |
deepCopy() |
boolean |
equals(ForeignKeysRequest that) |
boolean |
equals(Object that) |
ForeignKeysRequest._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
Object |
getFieldValue(ForeignKeysRequest._Fields field) |
String |
getForeign_db_name() |
String |
getForeign_tbl_name() |
String |
getParent_db_name() |
String |
getParent_tbl_name() |
int |
hashCode() |
boolean |
isSet(ForeignKeysRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName is set (has been assigned a value) and false otherwise
|
boolean |
isSetForeign_db_name()
Returns true if field foreign_db_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetForeign_tbl_name()
Returns true if field foreign_tbl_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetParent_db_name()
Returns true if field parent_db_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetParent_tbl_name()
Returns true if field parent_tbl_name is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setFieldValue(ForeignKeysRequest._Fields field,
Object value) |
void |
setForeign_db_name(String foreign_db_name) |
void |
setForeign_db_nameIsSet(boolean value) |
void |
setForeign_tbl_name(String foreign_tbl_name) |
void |
setForeign_tbl_nameIsSet(boolean value) |
void |
setParent_db_name(String parent_db_name) |
void |
setParent_db_nameIsSet(boolean value) |
void |
setParent_tbl_name(String parent_tbl_name) |
void |
setParent_tbl_nameIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetForeign_db_name() |
void |
unsetForeign_tbl_name() |
void |
unsetParent_db_name() |
void |
unsetParent_tbl_name() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ForeignKeysRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ForeignKeysRequest()
public ForeignKeysRequest(String parent_db_name, String parent_tbl_name, String foreign_db_name, String foreign_tbl_name)
public ForeignKeysRequest(ForeignKeysRequest other)
public ForeignKeysRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
public String getParent_db_name()
public void setParent_db_name(String parent_db_name)
public void unsetParent_db_name()
public boolean isSetParent_db_name()
public void setParent_db_nameIsSet(boolean value)
public String getParent_tbl_name()
public void setParent_tbl_name(String parent_tbl_name)
public void unsetParent_tbl_name()
public boolean isSetParent_tbl_name()
public void setParent_tbl_nameIsSet(boolean value)
public String getForeign_db_name()
public void setForeign_db_name(String foreign_db_name)
public void unsetForeign_db_name()
public boolean isSetForeign_db_name()
public void setForeign_db_nameIsSet(boolean value)
public String getForeign_tbl_name()
public void setForeign_tbl_name(String foreign_tbl_name)
public void unsetForeign_tbl_name()
public boolean isSetForeign_tbl_name()
public void setForeign_tbl_nameIsSet(boolean value)
public String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public void setFieldValue(ForeignKeysRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
public Object getFieldValue(ForeignKeysRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
public boolean isSet(ForeignKeysRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
public boolean equals(ForeignKeysRequest that)
public int compareTo(ForeignKeysRequest other)
compareTo
in interface Comparable<ForeignKeysRequest>
public ForeignKeysRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ForeignKeysRequest,ForeignKeysRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All rights reserved.