public class DropPartitionsRequest extends Object implements org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>, Serializable, Cloneable
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 Map<DropPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
DropPartitionsRequest() |
DropPartitionsRequest(DropPartitionsRequest other)
Performs a deep copy on other.
|
DropPartitionsRequest(String dbName,
String tblName,
RequestPartsSpec parts) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(DropPartitionsRequest other) |
DropPartitionsRequest |
deepCopy() |
boolean |
equals(DropPartitionsRequest that) |
boolean |
equals(Object that) |
DropPartitionsRequest._Fields |
fieldForId(int fieldId) |
String |
getDbName() |
EnvironmentContext |
getEnvironmentContext() |
Object |
getFieldValue(DropPartitionsRequest._Fields field) |
RequestPartsSpec |
getParts() |
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 |
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 |
setDbName(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,
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(String tblName) |
void |
setTblNameIsSet(boolean value) |
String |
toString() |
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 Map<DropPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DropPartitionsRequest()
public DropPartitionsRequest(String dbName, 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 String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getTblName()
public void setTblName(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 void setFieldValue(DropPartitionsRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<DropPartitionsRequest,DropPartitionsRequest._Fields>
public 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(DropPartitionsRequest that)
public int compareTo(DropPartitionsRequest other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.