@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class SQLForeignKey extends Object implements org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>, Serializable, Cloneable, Comparable<SQLForeignKey>
Modifier and Type | Class and Description |
---|---|
static class |
SQLForeignKey._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<SQLForeignKey._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SQLForeignKey() |
SQLForeignKey(SQLForeignKey other)
Performs a deep copy on other.
|
SQLForeignKey(String pktable_db,
String pktable_name,
String pkcolumn_name,
String fktable_db,
String fktable_name,
String fkcolumn_name,
int key_seq,
int update_rule,
int delete_rule,
String fk_name,
String pk_name,
boolean enable_cstr,
boolean validate_cstr,
boolean rely_cstr) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SQLForeignKey other) |
SQLForeignKey |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SQLForeignKey that) |
SQLForeignKey._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
int |
getDelete_rule() |
Object |
getFieldValue(SQLForeignKey._Fields field) |
String |
getFk_name() |
String |
getFkcolumn_name() |
String |
getFktable_db() |
String |
getFktable_name() |
int |
getKey_seq() |
String |
getPk_name() |
String |
getPkcolumn_name() |
String |
getPktable_db() |
String |
getPktable_name() |
int |
getUpdate_rule() |
int |
hashCode() |
boolean |
isEnable_cstr() |
boolean |
isRely_cstr() |
boolean |
isSet(SQLForeignKey._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 |
isSetDelete_rule()
Returns true if field delete_rule is set (has been assigned a value) and false otherwise
|
boolean |
isSetEnable_cstr()
Returns true if field enable_cstr is set (has been assigned a value) and false otherwise
|
boolean |
isSetFk_name()
Returns true if field fk_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetFkcolumn_name()
Returns true if field fkcolumn_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetFktable_db()
Returns true if field fktable_db is set (has been assigned a value) and false otherwise
|
boolean |
isSetFktable_name()
Returns true if field fktable_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetKey_seq()
Returns true if field key_seq is set (has been assigned a value) and false otherwise
|
boolean |
isSetPk_name()
Returns true if field pk_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetPkcolumn_name()
Returns true if field pkcolumn_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetPktable_db()
Returns true if field pktable_db is set (has been assigned a value) and false otherwise
|
boolean |
isSetPktable_name()
Returns true if field pktable_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetRely_cstr()
Returns true if field rely_cstr is set (has been assigned a value) and false otherwise
|
boolean |
isSetUpdate_rule()
Returns true if field update_rule is set (has been assigned a value) and false otherwise
|
boolean |
isSetValidate_cstr()
Returns true if field validate_cstr is set (has been assigned a value) and false otherwise
|
boolean |
isValidate_cstr() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDelete_rule(int delete_rule) |
void |
setDelete_ruleIsSet(boolean value) |
void |
setEnable_cstr(boolean enable_cstr) |
void |
setEnable_cstrIsSet(boolean value) |
void |
setFieldValue(SQLForeignKey._Fields field,
Object value) |
void |
setFk_name(String fk_name) |
void |
setFk_nameIsSet(boolean value) |
void |
setFkcolumn_name(String fkcolumn_name) |
void |
setFkcolumn_nameIsSet(boolean value) |
void |
setFktable_db(String fktable_db) |
void |
setFktable_dbIsSet(boolean value) |
void |
setFktable_name(String fktable_name) |
void |
setFktable_nameIsSet(boolean value) |
void |
setKey_seq(int key_seq) |
void |
setKey_seqIsSet(boolean value) |
void |
setPk_name(String pk_name) |
void |
setPk_nameIsSet(boolean value) |
void |
setPkcolumn_name(String pkcolumn_name) |
void |
setPkcolumn_nameIsSet(boolean value) |
void |
setPktable_db(String pktable_db) |
void |
setPktable_dbIsSet(boolean value) |
void |
setPktable_name(String pktable_name) |
void |
setPktable_nameIsSet(boolean value) |
void |
setRely_cstr(boolean rely_cstr) |
void |
setRely_cstrIsSet(boolean value) |
void |
setUpdate_rule(int update_rule) |
void |
setUpdate_ruleIsSet(boolean value) |
void |
setValidate_cstr(boolean validate_cstr) |
void |
setValidate_cstrIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetDelete_rule() |
void |
unsetEnable_cstr() |
void |
unsetFk_name() |
void |
unsetFkcolumn_name() |
void |
unsetFktable_db() |
void |
unsetFktable_name() |
void |
unsetKey_seq() |
void |
unsetPk_name() |
void |
unsetPkcolumn_name() |
void |
unsetPktable_db() |
void |
unsetPktable_name() |
void |
unsetRely_cstr() |
void |
unsetUpdate_rule() |
void |
unsetValidate_cstr() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<SQLForeignKey._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLForeignKey()
public SQLForeignKey(String pktable_db, String pktable_name, String pkcolumn_name, String fktable_db, String fktable_name, String fkcolumn_name, int key_seq, int update_rule, int delete_rule, String fk_name, String pk_name, boolean enable_cstr, boolean validate_cstr, boolean rely_cstr)
public SQLForeignKey(SQLForeignKey other)
public SQLForeignKey deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>
public String getPktable_db()
public void setPktable_db(String pktable_db)
public void unsetPktable_db()
public boolean isSetPktable_db()
public void setPktable_dbIsSet(boolean value)
public String getPktable_name()
public void setPktable_name(String pktable_name)
public void unsetPktable_name()
public boolean isSetPktable_name()
public void setPktable_nameIsSet(boolean value)
public String getPkcolumn_name()
public void setPkcolumn_name(String pkcolumn_name)
public void unsetPkcolumn_name()
public boolean isSetPkcolumn_name()
public void setPkcolumn_nameIsSet(boolean value)
public String getFktable_db()
public void setFktable_db(String fktable_db)
public void unsetFktable_db()
public boolean isSetFktable_db()
public void setFktable_dbIsSet(boolean value)
public String getFktable_name()
public void setFktable_name(String fktable_name)
public void unsetFktable_name()
public boolean isSetFktable_name()
public void setFktable_nameIsSet(boolean value)
public String getFkcolumn_name()
public void setFkcolumn_name(String fkcolumn_name)
public void unsetFkcolumn_name()
public boolean isSetFkcolumn_name()
public void setFkcolumn_nameIsSet(boolean value)
public int getKey_seq()
public void setKey_seq(int key_seq)
public void unsetKey_seq()
public boolean isSetKey_seq()
public void setKey_seqIsSet(boolean value)
public int getUpdate_rule()
public void setUpdate_rule(int update_rule)
public void unsetUpdate_rule()
public boolean isSetUpdate_rule()
public void setUpdate_ruleIsSet(boolean value)
public int getDelete_rule()
public void setDelete_rule(int delete_rule)
public void unsetDelete_rule()
public boolean isSetDelete_rule()
public void setDelete_ruleIsSet(boolean value)
public String getFk_name()
public void setFk_name(String fk_name)
public void unsetFk_name()
public boolean isSetFk_name()
public void setFk_nameIsSet(boolean value)
public String getPk_name()
public void setPk_name(String pk_name)
public void unsetPk_name()
public boolean isSetPk_name()
public void setPk_nameIsSet(boolean value)
public boolean isEnable_cstr()
public void setEnable_cstr(boolean enable_cstr)
public void unsetEnable_cstr()
public boolean isSetEnable_cstr()
public void setEnable_cstrIsSet(boolean value)
public boolean isValidate_cstr()
public void setValidate_cstr(boolean validate_cstr)
public void unsetValidate_cstr()
public boolean isSetValidate_cstr()
public void setValidate_cstrIsSet(boolean value)
public boolean isRely_cstr()
public void setRely_cstr(boolean rely_cstr)
public void unsetRely_cstr()
public boolean isSetRely_cstr()
public void setRely_cstrIsSet(boolean value)
public String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public void setFieldValue(SQLForeignKey._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>
public Object getFieldValue(SQLForeignKey._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>
public boolean isSet(SQLForeignKey._Fields field)
isSet
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>
public boolean equals(SQLForeignKey that)
public int compareTo(SQLForeignKey other)
compareTo
in interface Comparable<SQLForeignKey>
public SQLForeignKey._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SQLForeignKey,SQLForeignKey._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<SQLForeignKey,SQLForeignKey._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.