T
- the target type the input ResultSet will be converted to.public interface ResultSetHandler<T>
Modifier and Type | Method and Description |
---|---|
T |
handle(ResultSet resultSet)
Turn the
ResultSet into an Object. |
T handle(ResultSet resultSet) throws SQLException
ResultSet
into an Object.resultSet
- 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 occursCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.