@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class AddPartitionsRequest extends java.lang.Object implements org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AddPartitionsRequest>
| 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 java.util.Map<AddPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AddPartitionsRequest() |
AddPartitionsRequest(AddPartitionsRequest other)
Performs a deep copy on other.
|
AddPartitionsRequest(java.lang.String dbName,
java.lang.String tblName,
java.util.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(java.lang.Object that) |
AddPartitionsRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getDbName() |
java.lang.Object |
getFieldValue(AddPartitionsRequest._Fields field) |
java.util.List<Partition> |
getParts() |
java.util.Iterator<Partition> |
getPartsIterator() |
int |
getPartsSize() |
java.lang.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 |
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 |
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 |
setCatName(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(AddPartitionsRequest._Fields field,
java.lang.Object value) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setIfNotExistsIsSet(boolean value) |
void |
setNeedResult(boolean needResult) |
void |
setNeedResultIsSet(boolean value) |
void |
setParts(java.util.List<Partition> parts) |
void |
setPartsIsSet(boolean value) |
void |
setTblName(java.lang.String tblName) |
void |
setTblNameIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetIfNotExists() |
void |
unsetNeedResult() |
void |
unsetParts() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<AddPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AddPartitionsRequest()
public AddPartitionsRequest(java.lang.String dbName,
java.lang.String tblName,
java.util.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 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 int getPartsSize()
public java.util.Iterator<Partition> getPartsIterator()
public void addToParts(Partition elem)
public java.util.List<Partition> getParts()
public void setParts(java.util.List<Partition> parts)
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 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(AddPartitionsRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>public java.lang.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(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(AddPartitionsRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(AddPartitionsRequest other)
compareTo in interface java.lang.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.TExceptionpublic 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.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.