public class HivePersistentResultSet extends PersistentResultSet
| Constructor and Description |
|---|
HivePersistentResultSet(org.apache.hadoop.fs.Path resultSetPath,
org.apache.hive.service.cli.OperationHandle opHandle,
org.apache.hive.service.cli.CLIServiceClient client)
Instantiates a new hive persistent result set.
|
| Modifier and Type | Method and Description |
|---|---|
LensResultSetMetadata |
getMetadata()
Get the result set metadata
|
String |
getOutputPath() |
int |
size()
Get the size of the result set.
|
toQueryResultpublic HivePersistentResultSet(org.apache.hadoop.fs.Path resultSetPath,
org.apache.hive.service.cli.OperationHandle opHandle,
org.apache.hive.service.cli.CLIServiceClient client)
throws org.apache.hive.service.cli.HiveSQLException
resultSetPath - the result set pathopHandle - the op handleclient - the clientorg.apache.hive.service.cli.HiveSQLException - the hive sql exceptionpublic int size()
throws LensException
LensResultSetsize in class LensResultSetLensException - the lens exceptionpublic String getOutputPath() throws LensException
getOutputPath in class PersistentResultSetLensExceptionpublic LensResultSetMetadata getMetadata() throws LensException
LensResultSetgetMetadata in class LensResultSetLensResultSetMetadataLensExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.