public static class ThriftHiveMetastore.drop_database_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_database_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.drop_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.drop_database_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.drop_database_args() |
ThriftHiveMetastore.drop_database_args(String name,
boolean deleteData,
boolean cascade) |
ThriftHiveMetastore.drop_database_args(ThriftHiveMetastore.drop_database_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.drop_database_args other) |
ThriftHiveMetastore.drop_database_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.drop_database_args that) |
ThriftHiveMetastore.drop_database_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.drop_database_args._Fields field) |
String |
getName() |
int |
hashCode() |
boolean |
isCascade() |
boolean |
isDeleteData() |
boolean |
isSet(ThriftHiveMetastore.drop_database_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCascade()
Returns true if field cascade is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeleteData()
Returns true if field deleteData is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCascade(boolean cascade) |
void |
setCascadeIsSet(boolean value) |
void |
setDeleteData(boolean deleteData) |
void |
setDeleteDataIsSet(boolean value) |
void |
setFieldValue(ThriftHiveMetastore.drop_database_args._Fields field,
Object value) |
void |
setName(String name) |
void |
setNameIsSet(boolean value) |
String |
toString() |
void |
unsetCascade() |
void |
unsetDeleteData() |
void |
unsetName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.drop_database_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.drop_database_args()
public ThriftHiveMetastore.drop_database_args(String name, boolean deleteData, boolean cascade)
public ThriftHiveMetastore.drop_database_args(ThriftHiveMetastore.drop_database_args other)
public ThriftHiveMetastore.drop_database_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_database_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_database_args._Fields>
public String getName()
public void setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public boolean isDeleteData()
public void setDeleteData(boolean deleteData)
public void unsetDeleteData()
public boolean isSetDeleteData()
public void setDeleteDataIsSet(boolean value)
public boolean isCascade()
public void setCascade(boolean cascade)
public void unsetCascade()
public boolean isSetCascade()
public void setCascadeIsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.drop_database_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_database_args._Fields>
public Object getFieldValue(ThriftHiveMetastore.drop_database_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_database_args._Fields>
public boolean isSet(ThriftHiveMetastore.drop_database_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_database_args._Fields>
public boolean equals(ThriftHiveMetastore.drop_database_args that)
public int compareTo(ThriftHiveMetastore.drop_database_args other)
compareTo
in interface Comparable<ThriftHiveMetastore.drop_database_args>
public ThriftHiveMetastore.drop_database_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.drop_database_args,ThriftHiveMetastore.drop_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.drop_database_args,ThriftHiveMetastore.drop_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.drop_database_args,ThriftHiveMetastore.drop_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.