public class TFetchResultsReq extends Object implements org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TFetchResultsReq._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<TFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TFetchResultsReq() |
TFetchResultsReq(TFetchResultsReq other)
Performs a deep copy on other.
|
TFetchResultsReq(TOperationHandle operationHandle,
TFetchOrientation orientation,
long maxRows) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TFetchResultsReq other) |
TFetchResultsReq |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TFetchResultsReq that) |
TFetchResultsReq._Fields |
fieldForId(int fieldId) |
short |
getFetchType() |
Object |
getFieldValue(TFetchResultsReq._Fields field) |
long |
getMaxRows() |
TOperationHandle |
getOperationHandle() |
TFetchOrientation |
getOrientation() |
int |
hashCode() |
boolean |
isSet(TFetchResultsReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFetchType()
Returns true if field fetchType is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxRows()
Returns true if field maxRows is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperationHandle()
Returns true if field operationHandle is set (has been assigned a value) and false otherwise
|
boolean |
isSetOrientation()
Returns true if field orientation is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFetchType(short fetchType) |
void |
setFetchTypeIsSet(boolean value) |
void |
setFieldValue(TFetchResultsReq._Fields field,
Object value) |
void |
setMaxRows(long maxRows) |
void |
setMaxRowsIsSet(boolean value) |
void |
setOperationHandle(TOperationHandle operationHandle) |
void |
setOperationHandleIsSet(boolean value) |
void |
setOrientation(TFetchOrientation orientation) |
void |
setOrientationIsSet(boolean value) |
String |
toString() |
void |
unsetFetchType() |
void |
unsetMaxRows() |
void |
unsetOperationHandle() |
void |
unsetOrientation() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TFetchResultsReq()
public TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows)
public TFetchResultsReq(TFetchResultsReq other)
public TFetchResultsReq deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
public TOperationHandle getOperationHandle()
public void setOperationHandle(TOperationHandle operationHandle)
public void unsetOperationHandle()
public boolean isSetOperationHandle()
public void setOperationHandleIsSet(boolean value)
public TFetchOrientation getOrientation()
TFetchOrientation
public void setOrientation(TFetchOrientation orientation)
TFetchOrientation
public void unsetOrientation()
public boolean isSetOrientation()
public void setOrientationIsSet(boolean value)
public long getMaxRows()
public void setMaxRows(long maxRows)
public void unsetMaxRows()
public boolean isSetMaxRows()
public void setMaxRowsIsSet(boolean value)
public short getFetchType()
public void setFetchType(short fetchType)
public void unsetFetchType()
public boolean isSetFetchType()
public void setFetchTypeIsSet(boolean value)
public void setFieldValue(TFetchResultsReq._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
public Object getFieldValue(TFetchResultsReq._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
public boolean isSet(TFetchResultsReq._Fields field)
isSet
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
public boolean equals(TFetchResultsReq that)
public int compareTo(TFetchResultsReq other)
compareTo
in interface Comparable<TFetchResultsReq>
public TFetchResultsReq._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._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<TFetchResultsReq,TFetchResultsReq._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.