@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class SQLUniqueConstraint extends Object implements org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>, Serializable, Cloneable, Comparable<SQLUniqueConstraint>
Modifier and Type | Class and Description |
---|---|
static class |
SQLUniqueConstraint._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<SQLUniqueConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SQLUniqueConstraint() |
SQLUniqueConstraint(SQLUniqueConstraint other)
Performs a deep copy on other.
|
SQLUniqueConstraint(String catName,
String table_db,
String table_name,
String column_name,
int key_seq,
String uk_name,
boolean enable_cstr,
boolean validate_cstr,
boolean rely_cstr) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SQLUniqueConstraint other) |
SQLUniqueConstraint |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SQLUniqueConstraint that) |
SQLUniqueConstraint._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getColumn_name() |
Object |
getFieldValue(SQLUniqueConstraint._Fields field) |
int |
getKey_seq() |
String |
getTable_db() |
String |
getTable_name() |
String |
getUk_name() |
int |
hashCode() |
boolean |
isEnable_cstr() |
boolean |
isRely_cstr() |
boolean |
isSet(SQLUniqueConstraint._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 |
isSetColumn_name()
Returns true if field column_name 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 |
isSetKey_seq()
Returns true if field key_seq 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 |
isSetTable_db()
Returns true if field table_db is set (has been assigned a value) and false otherwise
|
boolean |
isSetTable_name()
Returns true if field table_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetUk_name()
Returns true if field uk_name 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 |
setColumn_name(String column_name) |
void |
setColumn_nameIsSet(boolean value) |
void |
setEnable_cstr(boolean enable_cstr) |
void |
setEnable_cstrIsSet(boolean value) |
void |
setFieldValue(SQLUniqueConstraint._Fields field,
Object value) |
void |
setKey_seq(int key_seq) |
void |
setKey_seqIsSet(boolean value) |
void |
setRely_cstr(boolean rely_cstr) |
void |
setRely_cstrIsSet(boolean value) |
void |
setTable_db(String table_db) |
void |
setTable_dbIsSet(boolean value) |
void |
setTable_name(String table_name) |
void |
setTable_nameIsSet(boolean value) |
void |
setUk_name(String uk_name) |
void |
setUk_nameIsSet(boolean value) |
void |
setValidate_cstr(boolean validate_cstr) |
void |
setValidate_cstrIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetColumn_name() |
void |
unsetEnable_cstr() |
void |
unsetKey_seq() |
void |
unsetRely_cstr() |
void |
unsetTable_db() |
void |
unsetTable_name() |
void |
unsetUk_name() |
void |
unsetValidate_cstr() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<SQLUniqueConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLUniqueConstraint()
public SQLUniqueConstraint(String catName, String table_db, String table_name, String column_name, int key_seq, String uk_name, boolean enable_cstr, boolean validate_cstr, boolean rely_cstr)
public SQLUniqueConstraint(SQLUniqueConstraint other)
public SQLUniqueConstraint deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
public String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public String getTable_db()
public void setTable_db(String table_db)
public void unsetTable_db()
public boolean isSetTable_db()
public void setTable_dbIsSet(boolean value)
public String getTable_name()
public void setTable_name(String table_name)
public void unsetTable_name()
public boolean isSetTable_name()
public void setTable_nameIsSet(boolean value)
public String getColumn_name()
public void setColumn_name(String column_name)
public void unsetColumn_name()
public boolean isSetColumn_name()
public void setColumn_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 String getUk_name()
public void setUk_name(String uk_name)
public void unsetUk_name()
public boolean isSetUk_name()
public void setUk_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 void setFieldValue(SQLUniqueConstraint._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
public Object getFieldValue(SQLUniqueConstraint._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
public boolean isSet(SQLUniqueConstraint._Fields field)
isSet
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
public boolean equals(SQLUniqueConstraint that)
public int compareTo(SQLUniqueConstraint other)
compareTo
in interface Comparable<SQLUniqueConstraint>
public SQLUniqueConstraint._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._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<SQLUniqueConstraint,SQLUniqueConstraint._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.