Package io.trino.hive.thrift.metastore
Class SQLUniqueConstraint
java.lang.Object
io.trino.hive.thrift.metastore.SQLUniqueConstraint
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SQLUniqueConstraint>,org.apache.thrift.TBase<SQLUniqueConstraint,,SQLUniqueConstraint._Fields> org.apache.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.17.0)")
public class SQLUniqueConstraint
extends Object
implements org.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>, Serializable, Cloneable, Comparable<SQLUniqueConstraint>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<SQLUniqueConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(SQLUniqueConstraint other) deepCopy()booleanequals(SQLUniqueConstraint that) booleanfieldForId(int fieldId) intinthashCode()booleanbooleanbooleanisSet(SQLUniqueConstraint._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field catName is set (has been assigned a value) and false otherwisebooleanReturns true if field column_name is set (has been assigned a value) and false otherwisebooleanReturns true if field enable_cstr is set (has been assigned a value) and false otherwisebooleanReturns true if field key_seq is set (has been assigned a value) and false otherwisebooleanReturns true if field rely_cstr is set (has been assigned a value) and false otherwisebooleanReturns true if field table_db is set (has been assigned a value) and false otherwisebooleanReturns true if field table_name is set (has been assigned a value) and false otherwisebooleanReturns true if field uk_name is set (has been assigned a value) and false otherwisebooleanReturns true if field validate_cstr is set (has been assigned a value) and false otherwisebooleanvoidread(org.apache.thrift.protocol.TProtocol iprot) setCatName(String catName) voidsetCatNameIsSet(boolean value) setColumnName(String column_name) voidsetColumnNameIsSet(boolean value) setEnableCstr(boolean enable_cstr) voidsetEnableCstrIsSet(boolean value) voidsetFieldValue(SQLUniqueConstraint._Fields field, Object value) setKeySeq(int key_seq) voidsetKeySeqIsSet(boolean value) setRelyCstr(boolean rely_cstr) voidsetRelyCstrIsSet(boolean value) setTableDb(String table_db) voidsetTableDbIsSet(boolean value) setTableName(String table_name) voidsetTableNameIsSet(boolean value) voidsetUkNameIsSet(boolean value) setValidateCstr(boolean validate_cstr) voidsetValidateCstrIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<SQLUniqueConstraint._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SQLUniqueConstraint
public SQLUniqueConstraint() -
SQLUniqueConstraint
-
SQLUniqueConstraint
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
-
getCatName
-
setCatName
-
unsetCatName
public void unsetCatName() -
isSetCatName
public boolean isSetCatName()Returns true if field catName is set (has been assigned a value) and false otherwise -
setCatNameIsSet
public void setCatNameIsSet(boolean value) -
getTableDb
-
setTableDb
-
unsetTableDb
public void unsetTableDb() -
isSetTableDb
public boolean isSetTableDb()Returns true if field table_db is set (has been assigned a value) and false otherwise -
setTableDbIsSet
public void setTableDbIsSet(boolean value) -
getTableName
-
setTableName
-
unsetTableName
public void unsetTableName() -
isSetTableName
public boolean isSetTableName()Returns true if field table_name is set (has been assigned a value) and false otherwise -
setTableNameIsSet
public void setTableNameIsSet(boolean value) -
getColumnName
-
setColumnName
-
unsetColumnName
public void unsetColumnName() -
isSetColumnName
public boolean isSetColumnName()Returns true if field column_name is set (has been assigned a value) and false otherwise -
setColumnNameIsSet
public void setColumnNameIsSet(boolean value) -
getKeySeq
public int getKeySeq() -
setKeySeq
-
unsetKeySeq
public void unsetKeySeq() -
isSetKeySeq
public boolean isSetKeySeq()Returns true if field key_seq is set (has been assigned a value) and false otherwise -
setKeySeqIsSet
public void setKeySeqIsSet(boolean value) -
getUkName
-
setUkName
-
unsetUkName
public void unsetUkName() -
isSetUkName
public boolean isSetUkName()Returns true if field uk_name is set (has been assigned a value) and false otherwise -
setUkNameIsSet
public void setUkNameIsSet(boolean value) -
isEnableCstr
public boolean isEnableCstr() -
setEnableCstr
-
unsetEnableCstr
public void unsetEnableCstr() -
isSetEnableCstr
public boolean isSetEnableCstr()Returns true if field enable_cstr is set (has been assigned a value) and false otherwise -
setEnableCstrIsSet
public void setEnableCstrIsSet(boolean value) -
isValidateCstr
public boolean isValidateCstr() -
setValidateCstr
-
unsetValidateCstr
public void unsetValidateCstr() -
isSetValidateCstr
public boolean isSetValidateCstr()Returns true if field validate_cstr is set (has been assigned a value) and false otherwise -
setValidateCstrIsSet
public void setValidateCstrIsSet(boolean value) -
isRelyCstr
public boolean isRelyCstr() -
setRelyCstr
-
unsetRelyCstr
public void unsetRelyCstr() -
isSetRelyCstr
public boolean isSetRelyCstr()Returns true if field rely_cstr is set (has been assigned a value) and false otherwise -
setRelyCstrIsSet
public void setRelyCstrIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SQLUniqueConstraint>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<SQLUniqueConstraint,SQLUniqueConstraint._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-