public static class ThriftHiveMetastore.alter_database_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.alter_database_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.alter_database_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.alter_database_args() |
ThriftHiveMetastore.alter_database_args(String dbname,
Database db) |
ThriftHiveMetastore.alter_database_args(ThriftHiveMetastore.alter_database_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.alter_database_args other) |
ThriftHiveMetastore.alter_database_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.alter_database_args that) |
ThriftHiveMetastore.alter_database_args._Fields |
fieldForId(int fieldId) |
Database |
getDb() |
String |
getDbname() |
Object |
getFieldValue(ThriftHiveMetastore.alter_database_args._Fields field) |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.alter_database_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDb()
Returns true if field db is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbname()
Returns true if field dbname is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDb(Database db) |
void |
setDbIsSet(boolean value) |
void |
setDbname(String dbname) |
void |
setDbnameIsSet(boolean value) |
void |
setFieldValue(ThriftHiveMetastore.alter_database_args._Fields field,
Object value) |
String |
toString() |
void |
unsetDb() |
void |
unsetDbname() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.alter_database_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.alter_database_args()
public ThriftHiveMetastore.alter_database_args(String dbname, Database db)
public ThriftHiveMetastore.alter_database_args(ThriftHiveMetastore.alter_database_args other)
public ThriftHiveMetastore.alter_database_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
public String getDbname()
public void setDbname(String dbname)
public void unsetDbname()
public boolean isSetDbname()
public void setDbnameIsSet(boolean value)
public Database getDb()
public void setDb(Database db)
public void unsetDb()
public boolean isSetDb()
public void setDbIsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.alter_database_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
public Object getFieldValue(ThriftHiveMetastore.alter_database_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
public boolean isSet(ThriftHiveMetastore.alter_database_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
public boolean equals(ThriftHiveMetastore.alter_database_args that)
public int compareTo(ThriftHiveMetastore.alter_database_args other)
compareTo
in interface Comparable<ThriftHiveMetastore.alter_database_args>
public ThriftHiveMetastore.alter_database_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.alter_database_args,ThriftHiveMetastore.alter_database_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.alter_database_args,ThriftHiveMetastore.alter_database_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.