@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class PartitionValuesRequest extends java.lang.Object implements org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PartitionValuesRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionValuesRequest._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<PartitionValuesRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PartitionValuesRequest() |
PartitionValuesRequest(PartitionValuesRequest other)
Performs a deep copy on other.
|
PartitionValuesRequest(java.lang.String dbName,
java.lang.String tblName,
java.util.List<FieldSchema> partitionKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPartitionKeys(FieldSchema elem) |
void |
addToPartitionOrder(FieldSchema elem) |
void |
clear() |
int |
compareTo(PartitionValuesRequest other) |
PartitionValuesRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PartitionValuesRequest that) |
PartitionValuesRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getDbName() |
java.lang.Object |
getFieldValue(PartitionValuesRequest._Fields field) |
java.lang.String |
getFilter() |
long |
getMaxParts() |
java.util.List<FieldSchema> |
getPartitionKeys() |
java.util.Iterator<FieldSchema> |
getPartitionKeysIterator() |
int |
getPartitionKeysSize() |
java.util.List<FieldSchema> |
getPartitionOrder() |
java.util.Iterator<FieldSchema> |
getPartitionOrderIterator() |
int |
getPartitionOrderSize() |
java.lang.String |
getTblName() |
int |
hashCode() |
boolean |
isApplyDistinct() |
boolean |
isAscending() |
boolean |
isSet(PartitionValuesRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetApplyDistinct()
Returns true if field applyDistinct is set (has been assigned a value) and false otherwise
|
boolean |
isSetAscending()
Returns true if field ascending 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 |
isSetFilter()
Returns true if field filter is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxParts()
Returns true if field maxParts is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionKeys()
Returns true if field partitionKeys is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionOrder()
Returns true if field partitionOrder 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 |
setApplyDistinct(boolean applyDistinct) |
void |
setApplyDistinctIsSet(boolean value) |
void |
setAscending(boolean ascending) |
void |
setAscendingIsSet(boolean value) |
void |
setCatName(java.lang.String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(java.lang.String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(PartitionValuesRequest._Fields field,
java.lang.Object value) |
void |
setFilter(java.lang.String filter) |
void |
setFilterIsSet(boolean value) |
void |
setMaxParts(long maxParts) |
void |
setMaxPartsIsSet(boolean value) |
void |
setPartitionKeys(java.util.List<FieldSchema> partitionKeys) |
void |
setPartitionKeysIsSet(boolean value) |
void |
setPartitionOrder(java.util.List<FieldSchema> partitionOrder) |
void |
setPartitionOrderIsSet(boolean value) |
void |
setTblName(java.lang.String tblName) |
void |
setTblNameIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetApplyDistinct() |
void |
unsetAscending() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetFilter() |
void |
unsetMaxParts() |
void |
unsetPartitionKeys() |
void |
unsetPartitionOrder() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<PartitionValuesRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionValuesRequest()
public PartitionValuesRequest(java.lang.String dbName,
java.lang.String tblName,
java.util.List<FieldSchema> partitionKeys)
public PartitionValuesRequest(PartitionValuesRequest other)
public PartitionValuesRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._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 getPartitionKeysSize()
public java.util.Iterator<FieldSchema> getPartitionKeysIterator()
public void addToPartitionKeys(FieldSchema elem)
public java.util.List<FieldSchema> getPartitionKeys()
public void setPartitionKeys(java.util.List<FieldSchema> partitionKeys)
public void unsetPartitionKeys()
public boolean isSetPartitionKeys()
public void setPartitionKeysIsSet(boolean value)
public boolean isApplyDistinct()
public void setApplyDistinct(boolean applyDistinct)
public void unsetApplyDistinct()
public boolean isSetApplyDistinct()
public void setApplyDistinctIsSet(boolean value)
public java.lang.String getFilter()
public void setFilter(java.lang.String filter)
public void unsetFilter()
public boolean isSetFilter()
public void setFilterIsSet(boolean value)
public int getPartitionOrderSize()
public java.util.Iterator<FieldSchema> getPartitionOrderIterator()
public void addToPartitionOrder(FieldSchema elem)
public java.util.List<FieldSchema> getPartitionOrder()
public void setPartitionOrder(java.util.List<FieldSchema> partitionOrder)
public void unsetPartitionOrder()
public boolean isSetPartitionOrder()
public void setPartitionOrderIsSet(boolean value)
public boolean isAscending()
public void setAscending(boolean ascending)
public void unsetAscending()
public boolean isSetAscending()
public void setAscendingIsSet(boolean value)
public long getMaxParts()
public void setMaxParts(long maxParts)
public void unsetMaxParts()
public boolean isSetMaxParts()
public void setMaxPartsIsSet(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(PartitionValuesRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>public java.lang.Object getFieldValue(PartitionValuesRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>public boolean isSet(PartitionValuesRequest._Fields field)
isSet in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(PartitionValuesRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(PartitionValuesRequest other)
compareTo in interface java.lang.Comparable<PartitionValuesRequest>public PartitionValuesRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._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<PartitionValuesRequest,PartitionValuesRequest._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.