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 boolean |
seekToStart() |
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, size
public abstract boolean seekToStart() throws LensException
LensException
public boolean canBePurged()
canBePurged
in class LensResultSet
public String getOutputPath() throws LensException
getOutputPath
in class LensResultSet
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 InMemoryQueryResult toQueryResult() throws LensException
LensResultSet
toQueryResult
in class LensResultSet
QueryResult
LensException
- the lens exceptionpublic boolean isHttpResultAvailable() throws LensException
isHttpResultAvailable
in class LensResultSet
LensException
@Generated(value="lombok") public void setFullyAccessed(boolean fullyAccessed)
@Generated(value="lombok") public long getCreationTime()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.