public class PartitionsByExprRequest extends Object implements org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>, Serializable, Cloneable
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 Map<PartitionsByExprRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PartitionsByExprRequest() |
PartitionsByExprRequest(PartitionsByExprRequest other)
Performs a deep copy on other.
|
PartitionsByExprRequest(String dbName,
String tblName,
ByteBuffer expr) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForExpr() |
void |
clear() |
int |
compareTo(PartitionsByExprRequest other) |
PartitionsByExprRequest |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PartitionsByExprRequest that) |
PartitionsByExprRequest._Fields |
fieldForId(int fieldId) |
String |
getDbName() |
String |
getDefaultPartitionName() |
byte[] |
getExpr() |
Object |
getFieldValue(PartitionsByExprRequest._Fields field) |
short |
getMaxParts() |
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 |
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 |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setDefaultPartitionName(String defaultPartitionName) |
void |
setDefaultPartitionNameIsSet(boolean value) |
void |
setExpr(byte[] expr) |
void |
setExpr(ByteBuffer expr) |
void |
setExprIsSet(boolean value) |
void |
setFieldValue(PartitionsByExprRequest._Fields field,
Object value) |
void |
setMaxParts(short maxParts) |
void |
setMaxPartsIsSet(boolean value) |
void |
setTblName(String tblName) |
void |
setTblNameIsSet(boolean value) |
String |
toString() |
void |
unsetDbName() |
void |
unsetDefaultPartitionName() |
void |
unsetExpr() |
void |
unsetMaxParts() |
void |
unsetTblName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PartitionsByExprRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionsByExprRequest()
public PartitionsByExprRequest(String dbName, String tblName, 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 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 byte[] getExpr()
public ByteBuffer bufferForExpr()
public void setExpr(byte[] expr)
public void setExpr(ByteBuffer expr)
public void unsetExpr()
public boolean isSetExpr()
public void setExprIsSet(boolean value)
public String getDefaultPartitionName()
public void setDefaultPartitionName(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 void setFieldValue(PartitionsByExprRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PartitionsByExprRequest,PartitionsByExprRequest._Fields>
public 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(PartitionsByExprRequest that)
public int compareTo(PartitionsByExprRequest other)
compareTo
in interface 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.TException
public 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.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.