|
||||||||||
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.server.query.LensPersistentResult
public class LensPersistentResult
The Class LensPersistentResult.
Constructor Summary | |
---|---|
LensPersistentResult(LensResultSetMetadata metadata,
String outputPath,
int numRows)
Instantiates a new lens persistent result. |
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 LensPersistentResult(LensResultSetMetadata metadata, String outputPath, int numRows)
metadata
- the metadataoutputPath
- the output pathnumRows
- the num rowsMethod Detail |
---|
public String getOutputPath() throws LensException
getOutputPath
in class PersistentResultSet
LensException
public int size() throws LensException
LensResultSet
size
in class LensResultSet
LensException
- the lens exceptionpublic 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 |