@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class SQLNotNullConstraint extends Object implements org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>, Serializable, Cloneable, 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 Map<SQLNotNullConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SQLNotNullConstraint() |
SQLNotNullConstraint(SQLNotNullConstraint other)
Performs a deep copy on other.
|
SQLNotNullConstraint(String catName,
String table_db,
String table_name,
String column_name,
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(Object that) |
boolean |
equals(SQLNotNullConstraint that) |
SQLNotNullConstraint._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getColumn_name() |
Object |
getFieldValue(SQLNotNullConstraint._Fields field) |
String |
getNn_name() |
String |
getTable_db() |
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(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(SQLNotNullConstraint._Fields field,
Object value) |
void |
setNn_name(String nn_name) |
void |
setNn_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 |
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 Map<SQLNotNullConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLNotNullConstraint()
public SQLNotNullConstraint(String catName, String table_db, String table_name, String column_name, 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 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 String getNn_name()
public void setNn_name(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, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SQLNotNullConstraint,SQLNotNullConstraint._Fields>
public 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(SQLNotNullConstraint that)
public int compareTo(SQLNotNullConstraint other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.