|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.commons.dbutils.handlers.MapHandler
public class MapHandler
ResultSetHandler implementation that converts the first
ResultSet row into a Map. This class is thread
safe.
ResultSetHandler| コンストラクタの概要 | |
|---|---|
MapHandler()
Creates a new instance of MapHandler using a BasicRowProcessor for conversion. |
|
MapHandler(RowProcessor convert)
Creates a new instance of MapHandler. |
|
| メソッドの概要 | |
|---|---|
java.lang.Object |
handle(java.sql.ResultSet rs)
Converts the first row in the ResultSet into a
Map. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MapHandler()
BasicRowProcessor for conversion.
public MapHandler(RowProcessor convert)
convert - The RowProcessor implementation
to use when converting rows into Maps.| メソッドの詳細 |
|---|
public java.lang.Object handle(java.sql.ResultSet rs)
throws java.sql.SQLException
ResultSet into a
Map.
ResultSetHandler 内の handlers - The ResultSet to handle. It has not been touched
before being passed to this method.
Map with the values from the first row or
null if there are no rows in the ResultSet.
java.sql.SQLException - if a database access error occursResultSetHandler.handle(java.sql.ResultSet)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||