@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class AlterPartitionsRequest extends java.lang.Object implements org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AlterPartitionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
AlterPartitionsRequest._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<AlterPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
AlterPartitionsRequest() |
AlterPartitionsRequest(AlterPartitionsRequest other)
Performs a deep copy on other.
|
AlterPartitionsRequest(java.lang.String dbName,
java.lang.String tableName,
java.util.List<Partition> partitions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPartitions(Partition elem) |
void |
clear() |
int |
compareTo(AlterPartitionsRequest other) |
AlterPartitionsRequest |
deepCopy() |
boolean |
equals(AlterPartitionsRequest that) |
boolean |
equals(java.lang.Object that) |
AlterPartitionsRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getDbName() |
EnvironmentContext |
getEnvironmentContext() |
java.lang.Object |
getFieldValue(AlterPartitionsRequest._Fields field) |
java.util.List<Partition> |
getPartitions() |
java.util.Iterator<Partition> |
getPartitionsIterator() |
int |
getPartitionsSize() |
java.lang.String |
getTableName() |
java.lang.String |
getValidWriteIdList() |
long |
getWriteId() |
int |
hashCode() |
boolean |
isSet(AlterPartitionsRequest._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 |
isSetEnvironmentContext()
Returns true if field environmentContext is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitions()
Returns true if field partitions is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName 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 |
isSetWriteId()
Returns true if field writeId 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 |
setEnvironmentContext(EnvironmentContext environmentContext) |
void |
setEnvironmentContextIsSet(boolean value) |
void |
setFieldValue(AlterPartitionsRequest._Fields field,
java.lang.Object value) |
void |
setPartitions(java.util.List<Partition> partitions) |
void |
setPartitionsIsSet(boolean value) |
void |
setTableName(java.lang.String tableName) |
void |
setTableNameIsSet(boolean value) |
void |
setValidWriteIdList(java.lang.String validWriteIdList) |
void |
setValidWriteIdListIsSet(boolean value) |
void |
setWriteId(long writeId) |
void |
setWriteIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetEnvironmentContext() |
void |
unsetPartitions() |
void |
unsetTableName() |
void |
unsetValidWriteIdList() |
void |
unsetWriteId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<AlterPartitionsRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AlterPartitionsRequest()
public AlterPartitionsRequest(java.lang.String dbName,
java.lang.String tableName,
java.util.List<Partition> partitions)
public AlterPartitionsRequest(AlterPartitionsRequest other)
public AlterPartitionsRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>public java.lang.String getCatName()
public void setCatName(java.lang.String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
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 getTableName()
public void setTableName(java.lang.String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getPartitionsSize()
public java.util.Iterator<Partition> getPartitionsIterator()
public void addToPartitions(Partition elem)
public java.util.List<Partition> getPartitions()
public void setPartitions(java.util.List<Partition> partitions)
public void unsetPartitions()
public boolean isSetPartitions()
public void setPartitionsIsSet(boolean value)
public EnvironmentContext getEnvironmentContext()
public void setEnvironmentContext(EnvironmentContext environmentContext)
public void unsetEnvironmentContext()
public boolean isSetEnvironmentContext()
public void setEnvironmentContextIsSet(boolean value)
public long getWriteId()
public void setWriteId(long writeId)
public void unsetWriteId()
public boolean isSetWriteId()
public void setWriteIdIsSet(boolean value)
public java.lang.String getValidWriteIdList()
public void setValidWriteIdList(java.lang.String validWriteIdList)
public void unsetValidWriteIdList()
public boolean isSetValidWriteIdList()
public void setValidWriteIdListIsSet(boolean value)
public void setFieldValue(AlterPartitionsRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>public java.lang.Object getFieldValue(AlterPartitionsRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>public boolean isSet(AlterPartitionsRequest._Fields field)
isSet in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(AlterPartitionsRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(AlterPartitionsRequest other)
compareTo in interface java.lang.Comparable<AlterPartitionsRequest>public AlterPartitionsRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<AlterPartitionsRequest,AlterPartitionsRequest._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<AlterPartitionsRequest,AlterPartitionsRequest._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.