|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.result.ResultTempTable
public class ResultTempTable
This class implements the temp table buffer for the LocalResult class.
| Method Summary | |
|---|---|
int |
addRow(Value[] values)
Add a row to this object. |
int |
addRows(java.util.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ResultExternal createShallowCopy()
ResultExternal
createShallowCopy in interface ResultExternalpublic int removeRow(Value[] values)
ResultExternal
removeRow in interface ResultExternalvalues - the row
public boolean contains(Value[] values)
ResultExternal
contains in interface ResultExternalvalues - the row
public int addRow(Value[] values)
ResultExternal
addRow in interface ResultExternalvalues - the row to add
public int addRows(java.util.ArrayList<Value[]> rows)
ResultExternal
addRows in interface ResultExternalrows - the list of rows to add
public void close()
ResultExternal
close in interface ResultExternalpublic void done()
ResultExternal
done in interface ResultExternalpublic Value[] next()
ResultExternal
next in interface ResultExternalpublic void reset()
ResultExternal
reset in interface ResultExternal
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||