|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.result.RowList
public class RowList
A list of rows. If the list grows too large, it is buffered to disk automatically.
Constructor Summary | |
---|---|
RowList(Session session)
Construct a new row list for this session. |
Method Summary | |
---|---|
void |
add(Row r)
Add a row to the list. |
void |
close()
Close the result list and delete the temporary file. |
boolean |
hasNext()
Check if there are more rows in this list. |
void |
invalidateCache()
Do not use the cache. |
Row |
next()
Get the next row from the list. |
void |
reset()
Remove all rows from the list. |
int |
size()
Get the number of rows in this list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowList(Session session)
session
- the sessionMethod Detail |
---|
public void add(Row r)
r
- the row to addpublic void reset()
public boolean hasNext()
public Row next()
public int size()
public void invalidateCache()
public void close()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |