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, toQueryResult
public 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
LensResultSet
size
in class LensResultSet
LensException
- the lens exceptionpublic Long getFileSize() throws LensException
PersistentResultSet
getFileSize
in class PersistentResultSet
LensException
- the lens exceptionpublic String getOutputPath() throws LensException
getOutputPath
in class LensResultSet
LensException
public LensResultSetMetadata getMetadata() throws LensException
LensResultSet
getMetadata
in class LensResultSet
LensResultSetMetadata
LensException
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.