@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class DropPartitionsRequest extends java.lang.Object implements org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DropPartitionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
DropPartitionsRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<DropPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
DropPartitionsRequest() |
DropPartitionsRequest(DropPartitionsRequest other)
Performs a deep copy on other.
|
DropPartitionsRequest(java.lang.String dbName,
java.lang.String tblName,
RequestPartsSpec parts) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DropPartitionsRequest other) |
DropPartitionsRequest |
deepCopy() |
boolean |
equals(DropPartitionsRequest that) |
boolean |
equals(java.lang.Object that) |
DropPartitionsRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getDbName() |
EnvironmentContext |
getEnvironmentContext() |
java.lang.Object |
getFieldValue(DropPartitionsRequest._Fields field) |
RequestPartsSpec |
getParts() |
java.lang.String |
getTblName() |
int |
hashCode() |
boolean |
isDeleteData() |
boolean |
isIfExists() |
boolean |
isIgnoreProtection() |
boolean |
isNeedResult() |
boolean |
isSet(DropPartitionsRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName 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
|
boolean |
isSetDeleteData()
Returns true if field deleteData is set (has been assigned a value) and false otherwise
|
boolean |
isSetEnvironmentContext()
Returns true if field environmentContext is set (has been assigned a value) and false otherwise
|
boolean |
isSetIfExists()
Returns true if field ifExists is set (has been assigned a value) and false otherwise
|
boolean |
isSetIgnoreProtection()
Returns true if field ignoreProtection is set (has been assigned a value) and false otherwise
|
boolean |
isSetNeedResult()
Returns true if field needResult is set (has been assigned a value) and false otherwise
|
boolean |
isSetParts()
Returns true if field parts is set (has been assigned a value) and false otherwise
|
boolean |
isSetTblName()
Returns true if field tblName is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setDeleteData(boolean deleteData) |
void |
setDeleteDataIsSet(boolean value) |
void |
setEnvironmentContext(EnvironmentContext environmentContext) |
void |
setEnvironmentContextIsSet(boolean value) |
void |
setFieldValue(DropPartitionsRequest._Fields field,
java.lang.Object value) |
void |
setIfExists(boolean ifExists) |
void |
setIfExistsIsSet(boolean value) |
void |
setIgnoreProtection(boolean ignoreProtection) |
void |
setIgnoreProtectionIsSet(boolean value) |
void |
setNeedResult(boolean needResult) |
void |
setNeedResultIsSet(boolean value) |
void |
setParts(RequestPartsSpec parts) |
void |
setPartsIsSet(boolean value) |
void |
setTblName(java.lang.String tblName) |
void |
setTblNameIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetDeleteData() |
void |
unsetEnvironmentContext() |
void |
unsetIfExists() |
void |
unsetIgnoreProtection() |
void |
unsetNeedResult() |
void |
unsetParts() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<DropPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DropPartitionsRequest()
public DropPartitionsRequest(java.lang.String dbName,
java.lang.String tblName,
RequestPartsSpec parts)
public DropPartitionsRequest(DropPartitionsRequest other)
public DropPartitionsRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>public java.lang.String getDbName()
public void setDbName(java.lang.String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public java.lang.String getTblName()
public void setTblName(java.lang.String tblName)
public void unsetTblName()
public boolean isSetTblName()
public void setTblNameIsSet(boolean value)
public RequestPartsSpec getParts()
public void setParts(RequestPartsSpec parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean value)
public boolean isDeleteData()
public void setDeleteData(boolean deleteData)
public void unsetDeleteData()
public boolean isSetDeleteData()
public void setDeleteDataIsSet(boolean value)
public boolean isIfExists()
public void setIfExists(boolean ifExists)
public void unsetIfExists()
public boolean isSetIfExists()
public void setIfExistsIsSet(boolean value)
public boolean isIgnoreProtection()
public void setIgnoreProtection(boolean ignoreProtection)
public void unsetIgnoreProtection()
public boolean isSetIgnoreProtection()
public void setIgnoreProtectionIsSet(boolean value)
public EnvironmentContext getEnvironmentContext()
public void setEnvironmentContext(EnvironmentContext environmentContext)
public void unsetEnvironmentContext()
public boolean isSetEnvironmentContext()
public void setEnvironmentContextIsSet(boolean value)
public boolean isNeedResult()
public void setNeedResult(boolean needResult)
public void unsetNeedResult()
public boolean isSetNeedResult()
public void setNeedResultIsSet(boolean value)
public java.lang.String getCatName()
public void setCatName(java.lang.String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public void setFieldValue(DropPartitionsRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>public java.lang.Object getFieldValue(DropPartitionsRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>public boolean isSet(DropPartitionsRequest._Fields field)
isSet in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(DropPartitionsRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(DropPartitionsRequest other)
compareTo in interface java.lang.Comparable<DropPartitionsRequest>public DropPartitionsRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2013-2021. All Rights Reserved.