|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttribble.sql.SqlTypeResultSet<ResultType>
public class SqlTypeResultSet<ResultType>
SQL query result set.
See SqlTypeQuery for details.
Note: This requires Java 1.5 or later.
Copyright ©2008 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated by
by the United States Department of State as a terrorist, or terrorist
government or agency, to use and distribute this source code provided
that the original copyright notice remains present and unaltered.
| Field Summary | |
|---|---|
(package private) static java.lang.String |
REV
|
| Constructor Summary | |
|---|---|
SqlTypeResultSet(java.lang.Class resultType,
SqlTypeQuery query,
SqlObjectResultSet results)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Close this result set, releasing all object storage associated with it. |
ResultType |
getResult()
Retrieve the next row from the results of the SQL query. |
boolean |
next()
Determines if there is a next row in the results of the SQL query, and advances to that row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final java.lang.String REV
| Constructor Detail |
|---|
SqlTypeResultSet(java.lang.Class resultType,
SqlTypeQuery query,
SqlObjectResultSet results)
| Method Detail |
|---|
public void close()
Note that this method never throws SQLException, even if such an exception results during the closing of the result set.
public boolean next()
throws java.sql.SQLException
java.sql.SQLException - Thrown if an error occurs when the SQL result set is advanced to the next
result row.
public ResultType getResult()
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||