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 |
|---|---|
Long |
getFileSize()
Get the size of the result set file.
|
LensResultSetMetadata |
getMetadata()
Get the result set metadata
|
String |
getOutputPath() |
Integer |
size()
Get the size of the result set.
|
canBePurged, getHttpResultUrl, isHttpResultAvailable, 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 Integer size() throws LensException
LensResultSetsize in class LensResultSetLensException - the lens exceptionpublic Long getFileSize() throws LensException
PersistentResultSetgetFileSize in class PersistentResultSetLensException - the lens exceptionpublic String getOutputPath() throws LensException
getOutputPath in class LensResultSetLensExceptionpublic LensResultSetMetadata getMetadata() throws LensException
LensResultSetgetMetadata in class LensResultSetLensResultSetMetadataLensExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.