@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class DropDatabaseRequest extends Object implements org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._Fields>, Serializable, Cloneable, Comparable<DropDatabaseRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
DropDatabaseRequest._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<DropDatabaseRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
DropDatabaseRequest() |
DropDatabaseRequest(DropDatabaseRequest other)
Performs a deep copy on other.
|
DropDatabaseRequest(String name,
boolean ignoreUnknownDb,
boolean deleteData,
boolean cascade) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DropDatabaseRequest other) |
DropDatabaseRequest |
deepCopy() |
boolean |
equals(DropDatabaseRequest that) |
boolean |
equals(Object that) |
DropDatabaseRequest._Fields |
fieldForId(int fieldId) |
String |
getCatalogName() |
Object |
getFieldValue(DropDatabaseRequest._Fields field) |
String |
getName() |
long |
getTxnId() |
int |
hashCode() |
boolean |
isCascade() |
boolean |
isDeleteData() |
boolean |
isDeleteManagedDir() |
boolean |
isIgnoreUnknownDb() |
boolean |
isSet(DropDatabaseRequest._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 |
isSetCatalogName()
Returns true if field catalogName 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 |
isSetDeleteManagedDir()
Returns true if field deleteManagedDir is set (has been assigned a value) and false otherwise
|
boolean |
isSetIgnoreUnknownDb()
Returns true if field ignoreUnknownDb 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
|
boolean |
isSetSoftDelete()
Returns true if field softDelete is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnId()
Returns true if field txnId is set (has been assigned a value) and false otherwise
|
boolean |
isSoftDelete() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCascade(boolean cascade) |
void |
setCascadeIsSet(boolean value) |
void |
setCatalogName(String catalogName) |
void |
setCatalogNameIsSet(boolean value) |
void |
setDeleteData(boolean deleteData) |
void |
setDeleteDataIsSet(boolean value) |
void |
setDeleteManagedDir(boolean deleteManagedDir) |
void |
setDeleteManagedDirIsSet(boolean value) |
void |
setFieldValue(DropDatabaseRequest._Fields field,
Object value) |
void |
setIgnoreUnknownDb(boolean ignoreUnknownDb) |
void |
setIgnoreUnknownDbIsSet(boolean value) |
void |
setName(String name) |
void |
setNameIsSet(boolean value) |
void |
setSoftDelete(boolean softDelete) |
void |
setSoftDeleteIsSet(boolean value) |
void |
setTxnId(long txnId) |
void |
setTxnIdIsSet(boolean value) |
String |
toString() |
void |
unsetCascade() |
void |
unsetCatalogName() |
void |
unsetDeleteData() |
void |
unsetDeleteManagedDir() |
void |
unsetIgnoreUnknownDb() |
void |
unsetName() |
void |
unsetSoftDelete() |
void |
unsetTxnId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<DropDatabaseRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DropDatabaseRequest()
public DropDatabaseRequest(String name, boolean ignoreUnknownDb, boolean deleteData, boolean cascade)
public DropDatabaseRequest(DropDatabaseRequest other)
public DropDatabaseRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._Fields>public String getName()
public void setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getCatalogName()
public void setCatalogName(String catalogName)
public void unsetCatalogName()
public boolean isSetCatalogName()
public void setCatalogNameIsSet(boolean value)
public boolean isIgnoreUnknownDb()
public void setIgnoreUnknownDb(boolean ignoreUnknownDb)
public void unsetIgnoreUnknownDb()
public boolean isSetIgnoreUnknownDb()
public void setIgnoreUnknownDbIsSet(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 boolean isSoftDelete()
public void setSoftDelete(boolean softDelete)
public void unsetSoftDelete()
public boolean isSetSoftDelete()
public void setSoftDeleteIsSet(boolean value)
public long getTxnId()
public void setTxnId(long txnId)
public void unsetTxnId()
public boolean isSetTxnId()
public void setTxnIdIsSet(boolean value)
public boolean isDeleteManagedDir()
public void setDeleteManagedDir(boolean deleteManagedDir)
public void unsetDeleteManagedDir()
public boolean isSetDeleteManagedDir()
public void setDeleteManagedDirIsSet(boolean value)
public void setFieldValue(DropDatabaseRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._Fields>public Object getFieldValue(DropDatabaseRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._Fields>public boolean isSet(DropDatabaseRequest._Fields field)
isSet in interface org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._Fields>public boolean equals(DropDatabaseRequest that)
public int compareTo(DropDatabaseRequest other)
compareTo in interface Comparable<DropDatabaseRequest>public DropDatabaseRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<DropDatabaseRequest,DropDatabaseRequest._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.