public abstract class InMemoryResultSet extends LensResultSet
| Constructor and Description |
|---|
InMemoryResultSet() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
hasNext()
Whether there is another result row available.
|
abstract ResultRow |
next()
Read the next result row.
|
abstract boolean |
seekToStart() |
abstract void |
setFetchSize(int size)
Set number of rows to be fetched at time
|
QueryResult |
toQueryResult()
Get the corresponding query result object.
|
getMetadata, sizepublic abstract boolean seekToStart()
throws LensException
LensExceptionpublic 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 - LensExceptionpublic QueryResult toQueryResult() throws LensException
LensResultSettoQueryResult in class LensResultSetQueryResultLensException - the lens exceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.