public class RequestPartsSpec extends org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
RequestPartsSpec._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<RequestPartsSpec._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
RequestPartsSpec() |
RequestPartsSpec(RequestPartsSpec._Fields setField,
Object value) |
RequestPartsSpec(RequestPartsSpec other) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkType(RequestPartsSpec._Fields setField,
Object value) |
int |
compareTo(RequestPartsSpec other) |
RequestPartsSpec |
deepCopy() |
protected RequestPartsSpec._Fields |
enumForId(short id) |
boolean |
equals(Object other) |
boolean |
equals(RequestPartsSpec other) |
static RequestPartsSpec |
exprs(List<DropPartitionsExpr> value) |
RequestPartsSpec._Fields |
fieldForId(int fieldId) |
List<DropPartitionsExpr> |
getExprs() |
protected org.apache.thrift.protocol.TField |
getFieldDesc(RequestPartsSpec._Fields setField) |
List<String> |
getNames() |
protected org.apache.thrift.protocol.TStruct |
getStructDesc() |
int |
hashCode() |
boolean |
isSetExprs() |
boolean |
isSetNames() |
static RequestPartsSpec |
names(List<String> value) |
void |
setExprs(List<DropPartitionsExpr> value) |
void |
setNames(List<String> value) |
protected Object |
standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field) |
protected void |
standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
protected Object |
tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID) |
protected void |
tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<RequestPartsSpec._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RequestPartsSpec()
public RequestPartsSpec(RequestPartsSpec._Fields setField, Object value)
public RequestPartsSpec(RequestPartsSpec other)
public RequestPartsSpec deepCopy()
public static RequestPartsSpec names(List<String> value)
public static RequestPartsSpec exprs(List<DropPartitionsExpr> value)
protected void checkType(RequestPartsSpec._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
standardSchemeReadValue
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
org.apache.thrift.TException
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
standardSchemeWriteValue
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
org.apache.thrift.TException
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
org.apache.thrift.TException
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(RequestPartsSpec._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
protected RequestPartsSpec._Fields enumForId(short id)
enumForId
in class org.apache.thrift.TUnion<RequestPartsSpec,RequestPartsSpec._Fields>
public RequestPartsSpec._Fields fieldForId(int fieldId)
public List<DropPartitionsExpr> getExprs()
public void setExprs(List<DropPartitionsExpr> value)
public boolean isSetNames()
public boolean isSetExprs()
public boolean equals(RequestPartsSpec other)
public int compareTo(RequestPartsSpec other)
Copyright © 2017 The Apache Software Foundation. All rights reserved.