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.
|
void |
setFetchSize(int i)
Set number of rows to be fetched at time
|
Integer |
size()
Get the size of the result set.
|
canBePurged, getCreationTime, 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
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.