org.apache.commons.dbutils
インタフェース ResultSetHandler
- 既知の実装クラスの一覧:
- ArrayHandler, ArrayListHandler, BeanHandler, BeanListHandler, ColumnListHandler, KeyedHandler, MapHandler, MapListHandler, ScalarHandler
public interface ResultSetHandler
Implementations of this interface convert ResultSets into other objects.
|
メソッドの概要 |
java.lang.Object |
handle(java.sql.ResultSet rs)
Turn the ResultSet into an Object. |
handle
java.lang.Object handle(java.sql.ResultSet rs)
throws java.sql.SQLException
- Turn the
ResultSet into an Object.
- パラメータ:
rs - The ResultSet to handle. It has not been touched
before being passed to this method.
- 戻り値:
- An Object initialized with
ResultSet data. It is
legal for implementations to return null if the
ResultSet contained 0 rows.
- 例外:
java.sql.SQLException - if a database access error occurs