tribble.sql
Class SqlTypeResultSet<ResultType>

java.lang.Object
  extended by tribble.sql.SqlTypeResultSet<ResultType>

public class SqlTypeResultSet<ResultType>
extends java.lang.Object

SQL query result set. See SqlTypeQuery for details.

Note: This requires Java 1.5 or later.

Source code:
Available at: http://david.tribble.com/src/java/tribble/sql/SqlTypeResultSet.java
Documentation:
Available at: http://david.tribble.com/docs/tribble/sql/SqlTypeResultSet.html

Since:
2008-02-14
Version:
@(#)$Revision: 1.2 $ $Date: 2008/09/15 17:43:45 $
Author:
David R. Tribble (david@tribble.com)

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

REV

static final java.lang.String REV
See Also:
Constant Field Values
Constructor Detail

SqlTypeResultSet

SqlTypeResultSet(java.lang.Class resultType,
                 SqlTypeQuery query,
                 SqlObjectResultSet results)
Constructor.

Since:
1.1, 2008-02-14
Method Detail

close

public void close()
Close this result set, releasing all object storage associated with it.

Note that this method never throws SQLException, even if such an exception results during the closing of the result set.

Since:
1.1, 2008-02-24

next

public boolean next()
             throws java.sql.SQLException
Determines if there is a next row in the results of the SQL query, and advances to that row.

Throws:
java.sql.SQLException - Thrown if an error occurs when the SQL result set is advanced to the next result row.
Since:
1.1, 2008-02-24

getResult

public ResultType getResult()
                     throws java.sql.SQLException
Retrieve the next row from the results of the SQL query.

Throws:
java.sql.SQLException
Since:
1.1, 2008-02-14