public class ESResultSet extends InMemoryResultSet
| Constructor and Description |
|---|
ESResultSet(int size,
Iterable<ResultRow> resultSetIterable,
LensResultSetMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
LensResultSetMetadata |
getMetadata()
Get the result set metadata
|
boolean |
hasNext()
Whether there is another result row available.
|
ResultRow |
next()
Read the next result row.
|
boolean |
seekToStart() |
void |
setFetchSize(int i)
Set number of rows to be fetched at time
|
Integer |
size()
Get the size of the result set.
|
canBePurged, getOutputPath, isHttpResultAvailable, setFullyAccessed, toQueryResultpublic ESResultSet(int size,
Iterable<ResultRow> resultSetIterable,
LensResultSetMetadata metadata)
public boolean hasNext()
InMemoryResultSethasNext in class InMemoryResultSetpublic ResultRow next()
InMemoryResultSetnext in class InMemoryResultSetpublic void setFetchSize(int i)
InMemoryResultSetsetFetchSize in class InMemoryResultSetpublic Integer size()
LensResultSetsize in class LensResultSetpublic LensResultSetMetadata getMetadata()
LensResultSetgetMetadata in class LensResultSetLensResultSetMetadatapublic boolean seekToStart()
throws LensException
seekToStart in class InMemoryResultSetLensExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.