|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PObjResultSet
A result set provides an interface to process the results of a
Query row by row.
It maintains a cursor pointing to its current row of data.
Initially the cursor is positioned before the first row. The
next() method moves the cursor to the next row, and because
it returns false when there are no more rows in the result
set, it can be used in a while loop to iterate through the result
set.
ResultSet| Method Summary | |
|---|---|
void |
close()
Closes this result set and frees any held resources. |
Record[] |
getRow()
Retrieves the current row from this result set. |
boolean |
next()
Moves cursor to the next row in the result set. |
| Method Detail |
|---|
void close()
After closing a result set it can not be used anymore.
PObjReadError - if any database error occurs.boolean next()
true if the next row is valid, otherwise false.
PObjReadError - if any database error occurs.Record[] getRow()
PObjReadError - if any database error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||