|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the target type the input ResultSet will be converted to.public interface ResultSetHandler<T>
Implementations of this interface convert ResultSets into other objects.
| Method Summary | |
|---|---|
T |
handle(ResultSet rs)
Turn the ResultSet into an Object. |
| Method Detail |
|---|
T handle(ResultSet rs)
throws SQLException
ResultSet into an Object.
rs - The ResultSet to handle. It has not been touched
before being passed to this method.
ResultSet data. It is
legal for implementations to return null if the
ResultSet contained 0 rows.
SQLException - if a database access error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||