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, toQueryResult
public ESResultSet(int size, Iterable<ResultRow> resultSetIterable, LensResultSetMetadata metadata)
public boolean hasNext()
InMemoryResultSet
hasNext
in class InMemoryResultSet
public ResultRow next()
InMemoryResultSet
next
in class InMemoryResultSet
public void setFetchSize(int i)
InMemoryResultSet
setFetchSize
in class InMemoryResultSet
public Integer size()
LensResultSet
size
in class LensResultSet
public LensResultSetMetadata getMetadata()
LensResultSet
getMetadata
in class LensResultSet
LensResultSetMetadata
public boolean seekToStart() throws LensException
seekToStart
in class InMemoryResultSet
LensException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.