public class ResultTempTable extends Object implements 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.
|
public ResultExternal createShallowCopy()
ResultExternalcreateShallowCopy in interface ResultExternalpublic int removeRow(Value[] values)
ResultExternalremoveRow in interface ResultExternalvalues - the rowpublic boolean contains(Value[] values)
ResultExternalcontains in interface ResultExternalvalues - the rowpublic int addRow(Value[] values)
ResultExternaladdRow in interface ResultExternalvalues - the row to addpublic int addRows(ArrayList<Value[]> rows)
ResultExternaladdRows in interface ResultExternalrows - the list of rows to addpublic void close()
ResultExternalclose in interface ResultExternalpublic void done()
ResultExternaldone in interface ResultExternalpublic Value[] next()
ResultExternalnext in interface ResultExternalpublic void reset()
ResultExternalreset in interface ResultExternalCopyright © 2012 JBoss by Red Hat. All Rights Reserved.