@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class PartitionsByExprRequest extends java.lang.Object implements org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<PartitionsByExprRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionsByExprRequest._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<PartitionsByExprRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PartitionsByExprRequest() |
PartitionsByExprRequest(PartitionsByExprRequest other)
Performs a deep copy on other.
|
PartitionsByExprRequest(java.lang.String dbName,
java.lang.String tblName,
java.nio.ByteBuffer expr) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
bufferForExpr() |
void |
clear() |
int |
compareTo(PartitionsByExprRequest other) |
PartitionsByExprRequest |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(PartitionsByExprRequest that) |
PartitionsByExprRequest._Fields |
fieldForId(int fieldId) |
java.lang.String |
getCatName() |
java.lang.String |
getDbName() |
java.lang.String |
getDefaultPartitionName() |
byte[] |
getExpr() |
java.lang.Object |
getFieldValue(PartitionsByExprRequest._Fields field) |
short |
getMaxParts() |
java.lang.String |
getTblName() |
int |
hashCode() |
boolean |
isSet(PartitionsByExprRequest._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 |
isSetDefaultPartitionName()
Returns true if field defaultPartitionName is set (has been assigned a value) and false otherwise
|
boolean |
isSetExpr()
Returns true if field expr 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 |
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 |
setDefaultPartitionName(java.lang.String defaultPartitionName) |
void |
setDefaultPartitionNameIsSet(boolean value) |
void |
setExpr(byte[] expr) |
void |
setExpr(java.nio.ByteBuffer expr) |
void |
setExprIsSet(boolean value) |
void |
setFieldValue(PartitionsByExprRequest._Fields field,
java.lang.Object value) |
void |
setMaxParts(short maxParts) |
void |
setMaxPartsIsSet(boolean value) |
void |
setTblName(java.lang.String tblName) |
void |
setTblNameIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetDefaultPartitionName() |
void |
unsetExpr() |
void |
unsetMaxParts() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<PartitionsByExprRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionsByExprRequest()
public PartitionsByExprRequest(java.lang.String dbName,
java.lang.String tblName,
java.nio.ByteBuffer expr)
public PartitionsByExprRequest(PartitionsByExprRequest other)
public PartitionsByExprRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._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 byte[] getExpr()
public java.nio.ByteBuffer bufferForExpr()
public void setExpr(byte[] expr)
public void setExpr(java.nio.ByteBuffer expr)
public void unsetExpr()
public boolean isSetExpr()
public void setExprIsSet(boolean value)
public java.lang.String getDefaultPartitionName()
public void setDefaultPartitionName(java.lang.String defaultPartitionName)
public void unsetDefaultPartitionName()
public boolean isSetDefaultPartitionName()
public void setDefaultPartitionNameIsSet(boolean value)
public short getMaxParts()
public void setMaxParts(short 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(PartitionsByExprRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>public java.lang.Object getFieldValue(PartitionsByExprRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>public boolean isSet(PartitionsByExprRequest._Fields field)
isSet in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(PartitionsByExprRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(PartitionsByExprRequest other)
compareTo in interface java.lang.Comparable<PartitionsByExprRequest>public PartitionsByExprRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._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<PartitionsByExprRequest,PartitionsByExprRequest._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.