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) |
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)
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 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 © 2016 The Apache Software Foundation. All rights reserved.