RowList
A list of rows. If the list grows too large, it is buffered to disk
automatically.
| Methods |
|
RowList(Session session)
Construct a new row list for this session.
|
|
RowList(Session session)
Construct a new row list for this session.
Parameters:
session - the session
|
| void |
add(Row r)
Add a row to the list.
|
| void |
add(Row r)
Add a row to the list.
Parameters:
r - the row to add
|
| void |
close()
Close the result list and delete the temporary file.
|
| void |
close()
Close the result list and delete the temporary file.
|
| boolean |
hasNext()
Check if there are more rows in this list.
|
| boolean |
hasNext()
Check if there are more rows in this list.
Returns:
true it there are more rows
|
| void |
invalidateCache()
Do not use the cache.
|
| void |
invalidateCache()
Do not use the cache.
|
| Row |
next()
Get the next row from the list.
|
| Row |
next()
Get the next row from the list.
Returns:
the next row
|
| void |
reset()
Remove all rows from the list.
|
| void |
reset()
Remove all rows from the list.
|
| int |
size()
Get the number of rows in this list.
|
| int |
size()
Get the number of rows in this list.
Returns:
the number of rows
|