@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class SQLAllTableConstraints extends Object implements org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>, Serializable, Cloneable, Comparable<SQLAllTableConstraints>
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLAllTableConstraints._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<SQLAllTableConstraints._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
SQLAllTableConstraints() |
SQLAllTableConstraints(SQLAllTableConstraints other)
Performs a deep copy on other.
|
public static final Map<SQLAllTableConstraints._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SQLAllTableConstraints()
public SQLAllTableConstraints(SQLAllTableConstraints other)
public SQLAllTableConstraints deepCopy()
deepCopy in interface org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>public void clear()
clear in interface org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>public int getPrimaryKeysSize()
public Iterator<SQLPrimaryKey> getPrimaryKeysIterator()
public void addToPrimaryKeys(SQLPrimaryKey elem)
public List<SQLPrimaryKey> getPrimaryKeys()
public void setPrimaryKeys(List<SQLPrimaryKey> primaryKeys)
public void unsetPrimaryKeys()
public boolean isSetPrimaryKeys()
public void setPrimaryKeysIsSet(boolean value)
public int getForeignKeysSize()
public Iterator<SQLForeignKey> getForeignKeysIterator()
public void addToForeignKeys(SQLForeignKey elem)
public List<SQLForeignKey> getForeignKeys()
public void setForeignKeys(List<SQLForeignKey> foreignKeys)
public void unsetForeignKeys()
public boolean isSetForeignKeys()
public void setForeignKeysIsSet(boolean value)
public int getUniqueConstraintsSize()
public Iterator<SQLUniqueConstraint> getUniqueConstraintsIterator()
public void addToUniqueConstraints(SQLUniqueConstraint elem)
public List<SQLUniqueConstraint> getUniqueConstraints()
public void setUniqueConstraints(List<SQLUniqueConstraint> uniqueConstraints)
public void unsetUniqueConstraints()
public boolean isSetUniqueConstraints()
public void setUniqueConstraintsIsSet(boolean value)
public int getNotNullConstraintsSize()
public Iterator<SQLNotNullConstraint> getNotNullConstraintsIterator()
public void addToNotNullConstraints(SQLNotNullConstraint elem)
public List<SQLNotNullConstraint> getNotNullConstraints()
public void setNotNullConstraints(List<SQLNotNullConstraint> notNullConstraints)
public void unsetNotNullConstraints()
public boolean isSetNotNullConstraints()
public void setNotNullConstraintsIsSet(boolean value)
public int getDefaultConstraintsSize()
public Iterator<SQLDefaultConstraint> getDefaultConstraintsIterator()
public void addToDefaultConstraints(SQLDefaultConstraint elem)
public List<SQLDefaultConstraint> getDefaultConstraints()
public void setDefaultConstraints(List<SQLDefaultConstraint> defaultConstraints)
public void unsetDefaultConstraints()
public boolean isSetDefaultConstraints()
public void setDefaultConstraintsIsSet(boolean value)
public int getCheckConstraintsSize()
public Iterator<SQLCheckConstraint> getCheckConstraintsIterator()
public void addToCheckConstraints(SQLCheckConstraint elem)
public List<SQLCheckConstraint> getCheckConstraints()
public void setCheckConstraints(List<SQLCheckConstraint> checkConstraints)
public void unsetCheckConstraints()
public boolean isSetCheckConstraints()
public void setCheckConstraintsIsSet(boolean value)
public void setFieldValue(SQLAllTableConstraints._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>public Object getFieldValue(SQLAllTableConstraints._Fields field)
getFieldValue in interface org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>public boolean isSet(SQLAllTableConstraints._Fields field)
isSet in interface org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>public boolean equals(SQLAllTableConstraints that)
public int compareTo(SQLAllTableConstraints other)
compareTo in interface Comparable<SQLAllTableConstraints>public SQLAllTableConstraints._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<SQLAllTableConstraints,SQLAllTableConstraints._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.