@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") @InterfaceAudience.Public @InterfaceStability.Stable public class PartitionValuesRequest extends Object implements org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>, Serializable, Cloneable, 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 Map<PartitionValuesRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PartitionValuesRequest() |
PartitionValuesRequest(PartitionValuesRequest other)
Performs a deep copy on other.
|
PartitionValuesRequest(String dbName,
String tblName,
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(Object that) |
boolean |
equals(PartitionValuesRequest that) |
PartitionValuesRequest._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getDbName() |
Object |
getFieldValue(PartitionValuesRequest._Fields field) |
String |
getFilter() |
long |
getMaxParts() |
List<FieldSchema> |
getPartitionKeys() |
Iterator<FieldSchema> |
getPartitionKeysIterator() |
int |
getPartitionKeysSize() |
List<FieldSchema> |
getPartitionOrder() |
Iterator<FieldSchema> |
getPartitionOrderIterator() |
int |
getPartitionOrderSize() |
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(String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(PartitionValuesRequest._Fields field,
Object value) |
void |
setFilter(String filter) |
void |
setFilterIsSet(boolean value) |
void |
setMaxParts(long maxParts) |
void |
setMaxPartsIsSet(boolean value) |
void |
setPartitionKeys(List<FieldSchema> partitionKeys) |
void |
setPartitionKeysIsSet(boolean value) |
void |
setPartitionOrder(List<FieldSchema> partitionOrder) |
void |
setPartitionOrderIsSet(boolean value) |
void |
setTblName(String tblName) |
void |
setTblNameIsSet(boolean value) |
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 Map<PartitionValuesRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionValuesRequest()
public PartitionValuesRequest(String dbName, String tblName, 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 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 getPartitionKeysSize()
public Iterator<FieldSchema> getPartitionKeysIterator()
public void addToPartitionKeys(FieldSchema elem)
public List<FieldSchema> getPartitionKeys()
public void setPartitionKeys(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 String getFilter()
public void setFilter(String filter)
public void unsetFilter()
public boolean isSetFilter()
public void setFilterIsSet(boolean value)
public int getPartitionOrderSize()
public Iterator<FieldSchema> getPartitionOrderIterator()
public void addToPartitionOrder(FieldSchema elem)
public List<FieldSchema> getPartitionOrder()
public void setPartitionOrder(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 String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public void setFieldValue(PartitionValuesRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PartitionValuesRequest,PartitionValuesRequest._Fields>
public 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(PartitionValuesRequest that)
public int compareTo(PartitionValuesRequest other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.