public abstract class InMemoryResultSet extends LensResultSet
| Constructor and Description |
|---|
InMemoryResultSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePurged() |
long |
getCreationTime() |
String |
getOutputPath() |
abstract boolean |
hasNext()
Whether there is another result row available.
|
boolean |
isHttpResultAvailable() |
abstract ResultRow |
next()
Read the next result row.
|
abstract void |
setFetchSize(int size)
Set number of rows to be fetched at time
|
void |
setFullyAccessed(boolean fullyAccessed) |
InMemoryQueryResult |
toQueryResult()
Get the corresponding query result object.
|
getMetadata, sizepublic boolean canBePurged()
canBePurged in class LensResultSetpublic String getOutputPath() throws LensException
getOutputPath in class LensResultSetLensExceptionpublic 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 InMemoryQueryResult toQueryResult() throws LensException
LensResultSettoQueryResult in class LensResultSetQueryResultLensException - the lens exceptionpublic boolean isHttpResultAvailable()
throws LensException
isHttpResultAvailable in class LensResultSetLensException@Generated(value="lombok") public void setFullyAccessed(boolean fullyAccessed)
@Generated(value="lombok") public long getCreationTime()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.