|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.commons.dbutils.handlers.ColumnListHandler
public class ColumnListHandler
ResultSetHandler implementation that converts one
ResultSet column into a List of
Objects. This class is thread safe.
ResultSetHandler| コンストラクタの概要 | |
|---|---|
ColumnListHandler()
Creates a new instance of ColumnListHandler. |
|
ColumnListHandler(int columnIndex)
Creates a new instance of ColumnListHandler. |
|
ColumnListHandler(java.lang.String columnName)
Creates a new instance of ColumnListHandler. |
|
| メソッドの概要 | |
|---|---|
java.lang.Object |
handle(java.sql.ResultSet rs)
Whole ResultSet handler. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ColumnListHandler()
handle().
public ColumnListHandler(int columnIndex)
columnIndex - The index of the column to retrieve from the
ResultSet.public ColumnListHandler(java.lang.String columnName)
columnName - The name of the column to retrieve from the
ResultSet.| メソッドの詳細 |
|---|
public java.lang.Object handle(java.sql.ResultSet rs)
throws java.sql.SQLException
ResultSet handler. It produce List as
result. To convert individual rows into Java objects it uses
handleRow(ResultSet) method.
ResultSetHandler 内の handlers - 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.
java.sql.SQLException - if a database access error occurshandleRow(ResultSet)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||