public interface ResultExternal
Modifier and Type | Method and Description |
---|---|
int |
addRow(Value[] values)
Add a row to this object.
|
int |
addRows(ArrayList<Value[]> rows)
Add a number of rows to the result.
|
void |
close()
Close this object and delete the temporary file.
|
boolean |
contains(Value[] values)
Check if the given row exists in this object.
|
ResultExternal |
createShallowCopy()
Create a shallow copy of this object if possible.
|
void |
done()
This method is called after all rows have been added.
|
Value[] |
next()
Get the next row from the result.
|
int |
removeRow(Value[] values)
Remove the row with the given values from this object if such a row
exists.
|
void |
reset()
Reset the current position of this object.
|
void reset()
Value[] next()
int addRow(Value[] values)
values
- the row to addint addRows(ArrayList<Value[]> rows)
rows
- the list of rows to addvoid done()
void close()
int removeRow(Value[] values)
values
- the rowboolean contains(Value[] values)
values
- the rowResultExternal createShallowCopy()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.