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, size
public abstract boolean seekToStart() throws LensException
LensException
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 exceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.