@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class SQLNotNullConstraint extends java.lang.Object implements org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SQLNotNullConstraint>
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLNotNullConstraint._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<SQLNotNullConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
SQLNotNullConstraint() |
SQLNotNullConstraint(SQLNotNullConstraint other)
Performs a deep copy on other.
|
SQLNotNullConstraint(java.lang.String catName,
java.lang.String table_db,
java.lang.String table_name,
java.lang.String column_name,
java.lang.String nn_name,
boolean enable_cstr,
boolean validate_cstr,
boolean rely_cstr) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(SQLNotNullConstraint other) |
SQLNotNullConstraint |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(SQLNotNullConstraint that) |
SQLNotNullConstraint._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getColumn_name() |
java.lang.Object |
getFieldValue(SQLNotNullConstraint._Fields field) |
java.lang.String |
getNn_name() |
java.lang.String |
getTable_db() |
java.lang.String |
getTable_name() |
int |
hashCode() |
boolean |
isEnable_cstr() |
boolean |
isRely_cstr() |
boolean |
isSet(SQLNotNullConstraint._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 |
isSetNn_name()
Returns true if field nn_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(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setColumn_name(java.lang.String column_name) |
void |
setColumn_nameIsSet(boolean value) |
void |
setEnable_cstr(boolean enable_cstr) |
void |
setEnable_cstrIsSet(boolean value) |
void |
setFieldValue(SQLNotNullConstraint._Fields field,
java.lang.Object value) |
void |
setNn_name(java.lang.String nn_name) |
void |
setNn_nameIsSet(boolean value) |
void |
setRely_cstr(boolean rely_cstr) |
void |
setRely_cstrIsSet(boolean value) |
void |
setTable_db(java.lang.String table_db) |
void |
setTable_dbIsSet(boolean value) |
void |
setTable_name(java.lang.String table_name) |
void |
setTable_nameIsSet(boolean value) |
void |
setValidate_cstr(boolean validate_cstr) |
void |
setValidate_cstrIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetColumn_name() |
void |
unsetEnable_cstr() |
void |
unsetNn_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 java.util.Map<SQLNotNullConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLNotNullConstraint()
public SQLNotNullConstraint(java.lang.String catName,
java.lang.String table_db,
java.lang.String table_name,
java.lang.String column_name,
java.lang.String nn_name,
boolean enable_cstr,
boolean validate_cstr,
boolean rely_cstr)
public SQLNotNullConstraint(SQLNotNullConstraint other)
public SQLNotNullConstraint deepCopy()
deepCopy in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>public void clear()
clear in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>public java.lang.String getCatName()
public void setCatName(java.lang.String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public java.lang.String getTable_db()
public void setTable_db(java.lang.String table_db)
public void unsetTable_db()
public boolean isSetTable_db()
public void setTable_dbIsSet(boolean value)
public java.lang.String getTable_name()
public void setTable_name(java.lang.String table_name)
public void unsetTable_name()
public boolean isSetTable_name()
public void setTable_nameIsSet(boolean value)
public java.lang.String getColumn_name()
public void setColumn_name(java.lang.String column_name)
public void unsetColumn_name()
public boolean isSetColumn_name()
public void setColumn_nameIsSet(boolean value)
public java.lang.String getNn_name()
public void setNn_name(java.lang.String nn_name)
public void unsetNn_name()
public boolean isSetNn_name()
public void setNn_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(SQLNotNullConstraint._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>public java.lang.Object getFieldValue(SQLNotNullConstraint._Fields field)
getFieldValue in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>public boolean isSet(SQLNotNullConstraint._Fields field)
isSet in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(SQLNotNullConstraint that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(SQLNotNullConstraint other)
compareTo in interface java.lang.Comparable<SQLNotNullConstraint>public SQLNotNullConstraint._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.