RESULT_SET_SIZE_UNKNOWN| Constructor and Description |
|---|
BufferedRowList(java.util.Iterator<Row> ris)
Create a new instance by filling the internal buffer by draining the row stream.
|
BufferedRowList(java.util.List<Row> rowList) |
| Modifier and Type | Method and Description |
|---|---|
Row |
get(int n)
Optionally retrieve Row at index n.
|
int |
getPosition()
Returns the current position.
|
boolean |
hasNext() |
Row |
next() |
Row |
previous()
Optionally iterate backwards on the list.
|
int |
size()
Only works on non dynamic row lists.
|
public BufferedRowList(java.util.List<Row> rowList)
public Row previous()
RowListpublic Row get(int n)
RowListpublic int getPosition()
RowListgetPosition in interface RowListpublic int size()
RowListpublic boolean hasNext()
hasNext in interface java.util.Iterator<Row>