|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.server.api.driver.LensResultSet org.apache.lens.server.api.driver.PersistentResultSet org.apache.lens.driver.hive.HivePersistentResultSet
public class HivePersistentResultSet
The Class HivePersistentResultSet.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
LensResultSetMetadata |
getMetadata()
Get the result set metadata |
String |
getOutputPath()
|
int |
size()
Get the size of the result set. |
Methods inherited from class org.apache.lens.server.api.driver.PersistentResultSet |
---|
toQueryResult |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 client
org.apache.hive.service.cli.HiveSQLException
- the hive sql exceptionMethod Detail |
---|
public int size() throws LensException
LensResultSet
size
in class LensResultSet
LensException
- the lens exceptionpublic String getOutputPath() throws LensException
getOutputPath
in class PersistentResultSet
LensException
public LensResultSetMetadata getMetadata() throws LensException
LensResultSet
getMetadata
in class LensResultSet
LensResultSetMetadata
LensException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |