|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 rows| Method Detail |
|---|
public String getOutputPath()
throws LensException
getOutputPath in class PersistentResultSetLensException
public int size()
throws LensException
LensResultSet
size in class LensResultSetLensException - the lens exception
public LensResultSetMetadata getMetadata()
throws LensException
LensResultSet
getMetadata in class LensResultSetLensResultSetMetadata
LensException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||