|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.commons.dbutils.ResultSetIterator
public class ResultSetIterator
Wraps a ResultSet in an Iterator. This is useful
when you want to present a non-database application layer with domain
neutral data.
This implementation requires the ResultSet.isLast() method
to be implemented.
| コンストラクタの概要 | |
|---|---|
ResultSetIterator(java.sql.ResultSet rs)
Constructor for ResultSetIterator. |
|
ResultSetIterator(java.sql.ResultSet rs,
RowProcessor convert)
Constructor for ResultSetIterator. |
|
| メソッドの概要 | |
|---|---|
boolean |
hasNext()
Returns true if there are more rows in the ResultSet. |
java.lang.Object |
next()
Returns the next row as an Object[]. |
void |
remove()
Deletes the current row from the ResultSet. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ResultSetIterator(java.sql.ResultSet rs)
rs - Wrap this ResultSet in an Iterator.
public ResultSetIterator(java.sql.ResultSet rs,
RowProcessor convert)
rs - Wrap this ResultSet in an Iterator.convert - The processor to use when converting a row into an
Object[]. Defaults to a
BasicRowProcessor.| メソッドの詳細 |
|---|
public boolean hasNext()
java.util.Iterator 内の hasNexttrue if there are more rows
java.lang.RuntimeException - if an SQLException occurs.public java.lang.Object next()
Object[].
java.util.Iterator 内の nextObject[] with the same number of elements as
columns in the ResultSet.
java.lang.RuntimeException - if an SQLException occurs.Iterator.next()public void remove()
ResultSet.
java.util.Iterator 内の removejava.lang.RuntimeException - if an SQLException occurs.Iterator.remove()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||