public class HiveInMemoryResultSet extends InMemoryResultSet
| Constructor and Description | 
|---|
| HiveInMemoryResultSet(org.apache.hive.service.cli.OperationHandle hiveHandle,
                     org.apache.hive.service.cli.CLIServiceClient client,
                     boolean closeAfterFecth)Instantiates a new hive in memory result set. | 
| Modifier and Type | Method and Description | 
|---|---|
| LensResultSetMetadata | getMetadata()Get the result set metadata | 
| boolean | hasNext()Whether there is another result row available. | 
| ResultRow | next()Read the next result row. | 
| boolean | seekToStart() | 
| void | setFetchSize(int size)Set number of rows to be fetched at time | 
| int | size()Get the size of the result set. | 
toQueryResultpublic HiveInMemoryResultSet(org.apache.hive.service.cli.OperationHandle hiveHandle,
                     org.apache.hive.service.cli.CLIServiceClient client,
                     boolean closeAfterFecth)
                      throws org.apache.hive.service.cli.HiveSQLException
hiveHandle - the hive handleclient - the clientcloseAfterFecth - the close after fecthorg.apache.hive.service.cli.HiveSQLException - the hive sql exceptionpublic int size()
         throws LensException
LensResultSetsize in class LensResultSetLensException - the lens exceptionpublic LensResultSetMetadata getMetadata() throws LensException
LensResultSetgetMetadata in class LensResultSetLensResultSetMetadataLensExceptionpublic boolean seekToStart()
seekToStart in class InMemoryResultSetpublic boolean hasNext()
                throws LensException
InMemoryResultSethasNext in class InMemoryResultSetLensException - the lens exceptionpublic ResultRow next() throws LensException
InMemoryResultSetnext in class InMemoryResultSetLensException - the lens exceptionpublic void setFetchSize(int size)
                  throws LensException
InMemoryResultSetsetFetchSize in class InMemoryResultSetLensExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.