public class AddPartitionsRequest extends Object implements org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
AddPartitionsRequest._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<AddPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
AddPartitionsRequest() |
AddPartitionsRequest(AddPartitionsRequest other)
Performs a deep copy on other.
|
AddPartitionsRequest(String dbName,
String tblName,
List<Partition> parts,
boolean ifNotExists) |
Modifier and Type | Method and Description |
---|---|
void |
addToParts(Partition elem) |
void |
clear() |
int |
compareTo(AddPartitionsRequest other) |
AddPartitionsRequest |
deepCopy() |
boolean |
equals(AddPartitionsRequest that) |
boolean |
equals(Object that) |
AddPartitionsRequest._Fields |
fieldForId(int fieldId) |
String |
getDbName() |
Object |
getFieldValue(AddPartitionsRequest._Fields field) |
List<Partition> |
getParts() |
Iterator<Partition> |
getPartsIterator() |
int |
getPartsSize() |
String |
getTblName() |
int |
hashCode() |
boolean |
isIfNotExists() |
boolean |
isNeedResult() |
boolean |
isSet(AddPartitionsRequest._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 |
isSetIfNotExists()
Returns true if field ifNotExists 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 |
setFieldValue(AddPartitionsRequest._Fields field,
Object value) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setIfNotExistsIsSet(boolean value) |
void |
setNeedResult(boolean needResult) |
void |
setNeedResultIsSet(boolean value) |
void |
setParts(List<Partition> parts) |
void |
setPartsIsSet(boolean value) |
void |
setTblName(String tblName) |
void |
setTblNameIsSet(boolean value) |
String |
toString() |
void |
unsetDbName() |
void |
unsetIfNotExists() |
void |
unsetNeedResult() |
void |
unsetParts() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<AddPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AddPartitionsRequest()
public AddPartitionsRequest(String dbName, String tblName, List<Partition> parts, boolean ifNotExists)
public AddPartitionsRequest(AddPartitionsRequest other)
public AddPartitionsRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._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 int getPartsSize()
public void addToParts(Partition elem)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean value)
public boolean isIfNotExists()
public void setIfNotExists(boolean ifNotExists)
public void unsetIfNotExists()
public boolean isSetIfNotExists()
public void setIfNotExistsIsSet(boolean value)
public boolean isNeedResult()
public void setNeedResult(boolean needResult)
public void unsetNeedResult()
public boolean isSetNeedResult()
public void setNeedResultIsSet(boolean value)
public void setFieldValue(AddPartitionsRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>
public Object getFieldValue(AddPartitionsRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>
public boolean isSet(AddPartitionsRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>
public boolean equals(AddPartitionsRequest that)
public int compareTo(AddPartitionsRequest other)
compareTo
in interface Comparable<AddPartitionsRequest>
public AddPartitionsRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._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<AddPartitionsRequest,AddPartitionsRequest._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.