@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class AddPartitionsRequest extends Object implements org.apache.thrift.TBase<AddPartitionsRequest,AddPartitionsRequest._Fields>, Serializable, Cloneable, 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 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 |
addToPartitionColSchema(FieldSchema elem) |
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 |
getCatName() |
String |
getDbName() |
Object |
getFieldValue(AddPartitionsRequest._Fields field) |
List<FieldSchema> |
getPartitionColSchema() |
Iterator<FieldSchema> |
getPartitionColSchemaIterator() |
int |
getPartitionColSchemaSize() |
List<Partition> |
getParts() |
Iterator<Partition> |
getPartsIterator() |
int |
getPartsSize() |
String |
getTblName() |
String |
getValidWriteIdList() |
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 |
isSetPartitionColSchema()
Returns true if field partitionColSchema 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 |
isSetSkipColumnSchemaForPartition()
Returns true if field skipColumnSchemaForPartition 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
|
boolean |
isSetValidWriteIdList()
Returns true if field validWriteIdList is set (has been assigned a value) and false otherwise
|
boolean |
isSkipColumnSchemaForPartition() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(String catName) |
void |
setCatNameIsSet(boolean value) |
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 |
setPartitionColSchema(List<FieldSchema> partitionColSchema) |
void |
setPartitionColSchemaIsSet(boolean value) |
void |
setParts(List<Partition> parts) |
void |
setPartsIsSet(boolean value) |
void |
setSkipColumnSchemaForPartition(boolean skipColumnSchemaForPartition) |
void |
setSkipColumnSchemaForPartitionIsSet(boolean value) |
void |
setTblName(String tblName) |
void |
setTblNameIsSet(boolean value) |
void |
setValidWriteIdList(String validWriteIdList) |
void |
setValidWriteIdListIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetIfNotExists() |
void |
unsetNeedResult() |
void |
unsetPartitionColSchema() |
void |
unsetParts() |
void |
unsetSkipColumnSchemaForPartition() |
void |
unsetTblName() |
void |
unsetValidWriteIdList() |
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 String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public String getValidWriteIdList()
public void setValidWriteIdList(String validWriteIdList)
public void unsetValidWriteIdList()
public boolean isSetValidWriteIdList()
public void setValidWriteIdListIsSet(boolean value)
public boolean isSkipColumnSchemaForPartition()
public void setSkipColumnSchemaForPartition(boolean skipColumnSchemaForPartition)
public void unsetSkipColumnSchemaForPartition()
public boolean isSetSkipColumnSchemaForPartition()
public void setSkipColumnSchemaForPartitionIsSet(boolean value)
public int getPartitionColSchemaSize()
public Iterator<FieldSchema> getPartitionColSchemaIterator()
public void addToPartitionColSchema(FieldSchema elem)
public List<FieldSchema> getPartitionColSchema()
public void setPartitionColSchema(List<FieldSchema> partitionColSchema)
public void unsetPartitionColSchema()
public boolean isSetPartitionColSchema()
public void setPartitionColSchemaIsSet(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.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.