org.apache.hive.service.cli.thrift
Class TFetchResultsReq

java.lang.Object
  extended by org.apache.hive.service.cli.thrift.TFetchResultsReq
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TFetchResultsReq>, org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

public class TFetchResultsReq
extends Object
implements org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class TFetchResultsReq._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<TFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
TFetchResultsReq()
           
TFetchResultsReq(TFetchResultsReq other)
          Performs a deep copy on other.
TFetchResultsReq(TOperationHandle operationHandle, TFetchOrientation orientation, long maxRows)
           
 
Method Summary
 void clear()
           
 int compareTo(TFetchResultsReq other)
           
 TFetchResultsReq deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(TFetchResultsReq that)
           
 TFetchResultsReq._Fields fieldForId(int fieldId)
           
 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 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 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 unsetMaxRows()
           
 void unsetOperationHandle()
           
 void unsetOrientation()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final Map<TFetchResultsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TFetchResultsReq

public TFetchResultsReq()

TFetchResultsReq

public TFetchResultsReq(TOperationHandle operationHandle,
                        TFetchOrientation orientation,
                        long maxRows)

TFetchResultsReq

public TFetchResultsReq(TFetchResultsReq other)
Performs a deep copy on other.

Method Detail

deepCopy

public TFetchResultsReq deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

getOperationHandle

public TOperationHandle getOperationHandle()

setOperationHandle

public void setOperationHandle(TOperationHandle operationHandle)

unsetOperationHandle

public void unsetOperationHandle()

isSetOperationHandle

public boolean isSetOperationHandle()
Returns true if field operationHandle is set (has been assigned a value) and false otherwise


setOperationHandleIsSet

public void setOperationHandleIsSet(boolean value)

getOrientation

public TFetchOrientation getOrientation()
See Also:
TFetchOrientation

setOrientation

public void setOrientation(TFetchOrientation orientation)
See Also:
TFetchOrientation

unsetOrientation

public void unsetOrientation()

isSetOrientation

public boolean isSetOrientation()
Returns true if field orientation is set (has been assigned a value) and false otherwise


setOrientationIsSet

public void setOrientationIsSet(boolean value)

getMaxRows

public long getMaxRows()

setMaxRows

public void setMaxRows(long maxRows)

unsetMaxRows

public void unsetMaxRows()

isSetMaxRows

public boolean isSetMaxRows()
Returns true if field maxRows is set (has been assigned a value) and false otherwise


setMaxRowsIsSet

public void setMaxRowsIsSet(boolean value)

setFieldValue

public void setFieldValue(TFetchResultsReq._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

getFieldValue

public Object getFieldValue(TFetchResultsReq._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

isSet

public boolean isSet(TFetchResultsReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(TFetchResultsReq that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(TFetchResultsReq other)
Specified by:
compareTo in interface Comparable<TFetchResultsReq>

fieldForId

public TFetchResultsReq._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<TFetchResultsReq,TFetchResultsReq._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation