|
||||||||||
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.InMemoryResultSet
public abstract class InMemoryResultSet
The Class InMemoryResultSet.
Constructor Summary | |
---|---|
InMemoryResultSet()
|
Method Summary | |
---|---|
abstract boolean |
hasNext()
Whether there is another result row available. |
abstract ResultRow |
next()
Read the next result row. |
abstract void |
setFetchSize(int size)
Set number of rows to be fetched at time |
QueryResult |
toQueryResult()
Get the corresponding query result object. |
Methods inherited from class org.apache.lens.server.api.driver.LensResultSet |
---|
getMetadata, size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InMemoryResultSet()
Method Detail |
---|
public abstract boolean hasNext() throws LensException
LensException
- the lens exceptionpublic abstract ResultRow next() throws LensException
LensException
- the lens exceptionpublic abstract void setFetchSize(int size) throws LensException
size
-
LensException
public QueryResult toQueryResult() throws LensException
LensResultSet
toQueryResult
in class LensResultSet
QueryResult
LensException
- the lens exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |