public class DropPartitionsExpr extends Object implements org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
DropPartitionsExpr._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<DropPartitionsExpr._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
DropPartitionsExpr() |
DropPartitionsExpr(ByteBuffer expr) |
DropPartitionsExpr(DropPartitionsExpr other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForExpr() |
void |
clear() |
int |
compareTo(DropPartitionsExpr other) |
DropPartitionsExpr |
deepCopy() |
boolean |
equals(DropPartitionsExpr that) |
boolean |
equals(Object that) |
DropPartitionsExpr._Fields |
fieldForId(int fieldId) |
byte[] |
getExpr() |
Object |
getFieldValue(DropPartitionsExpr._Fields field) |
int |
getPartArchiveLevel() |
int |
hashCode() |
boolean |
isSet(DropPartitionsExpr._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetPartArchiveLevel()
Returns true if field partArchiveLevel is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setExpr(byte[] expr) |
void |
setExpr(ByteBuffer expr) |
void |
setExprIsSet(boolean value) |
void |
setFieldValue(DropPartitionsExpr._Fields field,
Object value) |
void |
setPartArchiveLevel(int partArchiveLevel) |
void |
setPartArchiveLevelIsSet(boolean value) |
String |
toString() |
void |
unsetExpr() |
void |
unsetPartArchiveLevel() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<DropPartitionsExpr._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DropPartitionsExpr()
public DropPartitionsExpr(ByteBuffer expr)
public DropPartitionsExpr(DropPartitionsExpr other)
public DropPartitionsExpr deepCopy()
deepCopy
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>
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 int getPartArchiveLevel()
public void setPartArchiveLevel(int partArchiveLevel)
public void unsetPartArchiveLevel()
public boolean isSetPartArchiveLevel()
public void setPartArchiveLevelIsSet(boolean value)
public void setFieldValue(DropPartitionsExpr._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>
public Object getFieldValue(DropPartitionsExpr._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>
public boolean isSet(DropPartitionsExpr._Fields field)
isSet
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>
public boolean equals(DropPartitionsExpr that)
public int compareTo(DropPartitionsExpr other)
compareTo
in interface Comparable<DropPartitionsExpr>
public DropPartitionsExpr._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<DropPartitionsExpr,DropPartitionsExpr._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<DropPartitionsExpr,DropPartitionsExpr._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.