public class RowList extends Object
Constructor and Description |
---|
RowList(Session session)
Construct a new row list for this session.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public RowList(Session session)
session
- the sessionpublic 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()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.