@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class SQLPrimaryKey extends Object implements org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>, Serializable, Cloneable, Comparable<SQLPrimaryKey>
Modifier and Type | Class and Description |
---|---|
static class |
SQLPrimaryKey._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<SQLPrimaryKey._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SQLPrimaryKey() |
SQLPrimaryKey(SQLPrimaryKey other)
Performs a deep copy on other.
|
SQLPrimaryKey(String table_db,
String table_name,
String column_name,
int key_seq,
String pk_name,
boolean enable_cstr,
boolean validate_cstr,
boolean rely_cstr) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SQLPrimaryKey other) |
SQLPrimaryKey |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SQLPrimaryKey that) |
SQLPrimaryKey._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getColumn_name() |
Object |
getFieldValue(SQLPrimaryKey._Fields field) |
int |
getKey_seq() |
String |
getPk_name() |
String |
getTable_db() |
String |
getTable_name() |
int |
hashCode() |
boolean |
isEnable_cstr() |
boolean |
isRely_cstr() |
boolean |
isSet(SQLPrimaryKey._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 |
isSetPk_name()
Returns true if field pk_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 |
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 |
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(SQLPrimaryKey._Fields field,
Object value) |
void |
setKey_seq(int key_seq) |
void |
setKey_seqIsSet(boolean value) |
void |
setPk_name(String pk_name) |
void |
setPk_nameIsSet(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 |
setValidate_cstr(boolean validate_cstr) |
void |
setValidate_cstrIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetColumn_name() |
void |
unsetEnable_cstr() |
void |
unsetKey_seq() |
void |
unsetPk_name() |
void |
unsetRely_cstr() |
void |
unsetTable_db() |
void |
unsetTable_name() |
void |
unsetValidate_cstr() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<SQLPrimaryKey._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLPrimaryKey()
public SQLPrimaryKey(String table_db, String table_name, String column_name, int key_seq, String pk_name, boolean enable_cstr, boolean validate_cstr, boolean rely_cstr)
public SQLPrimaryKey(SQLPrimaryKey other)
public SQLPrimaryKey deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>
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 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(SQLPrimaryKey._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>
public Object getFieldValue(SQLPrimaryKey._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>
public boolean isSet(SQLPrimaryKey._Fields field)
isSet
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>
public boolean equals(SQLPrimaryKey that)
public int compareTo(SQLPrimaryKey other)
compareTo
in interface Comparable<SQLPrimaryKey>
public SQLPrimaryKey._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SQLPrimaryKey,SQLPrimaryKey._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<SQLPrimaryKey,SQLPrimaryKey._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.