@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class SQLDefaultConstraint extends Object implements org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._Fields>, Serializable, Cloneable, Comparable<SQLDefaultConstraint>
Modifier and Type | Class and Description |
---|---|
static class |
SQLDefaultConstraint._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<SQLDefaultConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SQLDefaultConstraint() |
SQLDefaultConstraint(SQLDefaultConstraint other)
Performs a deep copy on other.
|
SQLDefaultConstraint(String catName,
String table_db,
String table_name,
String column_name,
String default_value,
String dc_name,
boolean enable_cstr,
boolean validate_cstr,
boolean rely_cstr) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SQLDefaultConstraint other) |
SQLDefaultConstraint |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SQLDefaultConstraint that) |
SQLDefaultConstraint._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getColumn_name() |
String |
getDc_name() |
String |
getDefault_value() |
Object |
getFieldValue(SQLDefaultConstraint._Fields field) |
String |
getTable_db() |
String |
getTable_name() |
int |
hashCode() |
boolean |
isEnable_cstr() |
boolean |
isRely_cstr() |
boolean |
isSet(SQLDefaultConstraint._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 |
isSetDc_name()
Returns true if field dc_name is set (has been assigned a value) and false otherwise
|
boolean |
isSetDefault_value()
Returns true if field default_value 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 |
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 |
setDc_name(String dc_name) |
void |
setDc_nameIsSet(boolean value) |
void |
setDefault_value(String default_value) |
void |
setDefault_valueIsSet(boolean value) |
void |
setEnable_cstr(boolean enable_cstr) |
void |
setEnable_cstrIsSet(boolean value) |
void |
setFieldValue(SQLDefaultConstraint._Fields field,
Object 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 |
unsetDc_name() |
void |
unsetDefault_value() |
void |
unsetEnable_cstr() |
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<SQLDefaultConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLDefaultConstraint()
public SQLDefaultConstraint(String catName, String table_db, String table_name, String column_name, String default_value, String dc_name, boolean enable_cstr, boolean validate_cstr, boolean rely_cstr)
public SQLDefaultConstraint(SQLDefaultConstraint other)
public SQLDefaultConstraint deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._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 getDefault_value()
public void setDefault_value(String default_value)
public void unsetDefault_value()
public boolean isSetDefault_value()
public void setDefault_valueIsSet(boolean value)
public String getDc_name()
public void setDc_name(String dc_name)
public void unsetDc_name()
public boolean isSetDc_name()
public void setDc_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(SQLDefaultConstraint._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._Fields>
public Object getFieldValue(SQLDefaultConstraint._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._Fields>
public boolean isSet(SQLDefaultConstraint._Fields field)
isSet
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._Fields>
public boolean equals(SQLDefaultConstraint that)
public int compareTo(SQLDefaultConstraint other)
compareTo
in interface Comparable<SQLDefaultConstraint>
public SQLDefaultConstraint._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SQLDefaultConstraint,SQLDefaultConstraint._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<SQLDefaultConstraint,SQLDefaultConstraint._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.