@InterfaceAudience.Public @InterfaceStability.Stable public static class ThriftHiveMetastore.create_table_with_constraints_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>, Serializable, Cloneable, Comparable<ThriftHiveMetastore.create_table_with_constraints_args>
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.create_table_with_constraints_args._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<ThriftHiveMetastore.create_table_with_constraints_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
create_table_with_constraints_args() |
create_table_with_constraints_args(Table tbl,
List<SQLPrimaryKey> primaryKeys,
List<SQLForeignKey> foreignKeys,
List<SQLUniqueConstraint> uniqueConstraints,
List<SQLNotNullConstraint> notNullConstraints,
List<SQLDefaultConstraint> defaultConstraints,
List<SQLCheckConstraint> checkConstraints) |
create_table_with_constraints_args(ThriftHiveMetastore.create_table_with_constraints_args other)
Performs a deep copy on other.
|
public static final Map<ThriftHiveMetastore.create_table_with_constraints_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public create_table_with_constraints_args()
public create_table_with_constraints_args(Table tbl, List<SQLPrimaryKey> primaryKeys, List<SQLForeignKey> foreignKeys, List<SQLUniqueConstraint> uniqueConstraints, List<SQLNotNullConstraint> notNullConstraints, List<SQLDefaultConstraint> defaultConstraints, List<SQLCheckConstraint> checkConstraints)
public create_table_with_constraints_args(ThriftHiveMetastore.create_table_with_constraints_args other)
public ThriftHiveMetastore.create_table_with_constraints_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>
public Table getTbl()
public void setTbl(Table tbl)
public void unsetTbl()
public boolean isSetTbl()
public void setTblIsSet(boolean value)
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(ThriftHiveMetastore.create_table_with_constraints_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>
public Object getFieldValue(ThriftHiveMetastore.create_table_with_constraints_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>
public boolean isSet(ThriftHiveMetastore.create_table_with_constraints_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>
public boolean equals(ThriftHiveMetastore.create_table_with_constraints_args that)
public int compareTo(ThriftHiveMetastore.create_table_with_constraints_args other)
compareTo
in interface Comparable<ThriftHiveMetastore.create_table_with_constraints_args>
public ThriftHiveMetastore.create_table_with_constraints_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._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<ThriftHiveMetastore.create_table_with_constraints_args,ThriftHiveMetastore.create_table_with_constraints_args._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.