|
||||||||
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.
Constructor Summary | |
---|---|
ResultTempTable(Session session,
SortOrder sort)
|
Method Summary | |
---|---|
int |
addRow(Value[] values)
Add a row to this object. |
void |
addRows(ObjectArray<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. |
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 |
Constructor Detail |
---|
public ResultTempTable(Session session, SortOrder sort) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public int removeRow(Value[] values) throws java.sql.SQLException
ResultExternal
removeRow
in interface ResultExternal
values
- the row
java.sql.SQLException
public boolean contains(Value[] values) throws java.sql.SQLException
ResultExternal
contains
in interface ResultExternal
values
- the row
java.sql.SQLException
public int addRow(Value[] values) throws java.sql.SQLException
ResultExternal
addRow
in interface ResultExternal
values
- the row to add
java.sql.SQLException
public void addRows(ObjectArray<Value[]> rows) throws java.sql.SQLException
ResultExternal
addRows
in interface ResultExternal
rows
- the list of rows to add
java.sql.SQLException
public void close()
ResultExternal
close
in interface ResultExternal
public void done()
ResultExternal
done
in interface ResultExternal
public Value[] next() throws java.sql.SQLException
ResultExternal
next
in interface ResultExternal
java.sql.SQLException
public void reset() throws java.sql.SQLException
ResultExternal
reset
in interface ResultExternal
java.sql.SQLException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |