|
Shunsaku Java API J2UL-2295-01 |
|||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--com.fujitsu.shun.ShunResultSet
検索した結果を表現するクラスです。
nextメソッド実行後、getStringメソッド、getStreamメソッドまたはgetStringArrayメソッドの
いずれかを実行することで、1件ずつデータを取得することができます。
ShunResultSetオブジェクトは、ShunPreparedStatementクラスのexecuteSearchメソッド、
ShunPreparedRecordIDクラスのsearchByRecordIDメソッドまたはShunPreparedKeyクラスのsearchByKeyメソッドで作成します。
ShunPreparedStatement.executeSearch()
,
ShunPreparedRecordID.searchByRecordID()
,
ShunPreparedKey.searchByKey()
メソッドの概要 | |
void |
close()
ShunResultSetオブジェクトを解放します。 |
java.lang.String |
getFirstPosition()
Shunsakuから取り出したデータの先頭位置情報を返却します。 |
int |
getHitCount()
検索式、ダイレクトアクセスキーまたは指定したレコードIDに一致したデータのヒット件数を返却します。 |
java.lang.String |
getKey()
現在のXML文書のダイレクトアクセスキーを返却します。 |
java.lang.String |
getLastPosition()
Shunsakuから取り出したデータの最終位置情報を返却します。 |
java.lang.String |
getRecordID()
現在のXML文書のレコードIDを返却します。 |
int |
getReturnableCount()
返却可能なデータの最大件数を返却します。 |
int |
getReturnCount()
Shunsakuから取り出したデータの件数を返却します。 |
int |
getRow()
現在のデータがShunResultSetオブジェクトに保持しているデータの何番目であるかを返します。 |
java.io.InputStream |
getStream()
現在のデータを、Unicode(UTF-8)に変換してInputStreamとして返却します。 |
java.lang.String |
getString()
現在のデータを、Stringとして返却します。 |
java.lang.String[][] |
getStringArray()
現在のデータを、リターン項目単位にStringの2次元配列として返却します。 |
boolean |
isHitCountLimitOver()
ヒット件数が上限を超えているかどうかの状態を返却します。 |
boolean |
next()
次のデータに移動します。 |
クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
public void close() throws ShunException
ShunException
- Shunsaku Java APIの例外ShunPreparedStatement.close()
,
ShunPreparedRecordID.close()
,
ShunPreparedKey.close()
public java.lang.String getFirstPosition() throws ShunException
ShunException
- Shunsaku Java APIの例外ShunPreparedStatement
public int getHitCount() throws ShunException
ShunException
- Shunsaku Java APIの例外public java.lang.String getKey() throws ShunException
ShunException
- Shunsaku Java APIの例外public java.lang.String getLastPosition() throws ShunException
ShunException
- Shunsaku Java APIの例外ShunPreparedStatement
public java.lang.String getRecordID() throws ShunException
ShunException
- Shunsaku Java APIの例外public int getReturnableCount() throws ShunException
ShunException
- Shunsaku Java APIの例外ShunPreparedStatement.setSort(String)
,
getHitCount()
public int getReturnCount() throws ShunException
ShunException
- Shunsaku Java APIの例外public int getRow() throws ShunException
ShunException
- Shunsaku Java APIの例外public java.io.InputStream getStream() throws ShunException
ShunException
- Shunsaku Java APIの例外public java.lang.String getString() throws ShunException
ShunException
- Shunsaku Java APIの例外public java.lang.String[][] getStringArray() throws ShunException
ShunException
- Shunsaku Java APIの例外public boolean isHitCountLimitOver() throws ShunException
ShunException
- Shunsaku Java APIの例外ShunPreparedStatement
public boolean next() throws ShunException
ShunException
- Shunsaku Java APIの例外
|
Shunsaku Java API J2UL-2295-01 |
|||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |