public class StandardResultSet extends Object implements VCResultSet
| コンストラクタと説明 |
|---|
StandardResultSet(VCResource source,
SearchCondition[] conditions,
boolean orsearch,
SortField[] sortfields)
新しい結果データセットを作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close()
データセットを閉じます。
|
int |
getCount()
レコード数を取得します。
|
Date |
getDate(String fieldName)
現在のカーソル位置から、指定されたフィールドのデータを取得します。
|
double |
getDouble(String fieldName)
現在のカーソル位置から、指定されたフィールドのデータを取得します。
|
int |
getInt(String fieldName)
現在のカーソル位置から、指定されたフィールドのデータを取得します。
|
String |
getString(String fieldName)
現在のカーソル位置から、指定されたフィールドのデータを取得します。
|
boolean |
next()
データセット内のカーソル位置を1つ移動します。
|
public StandardResultSet(VCResource source, SearchCondition[] conditions, boolean orsearch, SortField[] sortfields) throws VCResourceException
source - データソースconditions - 検索条件orsearch - OR検索するかどうか true:OR検索 false:AND検索sortfields - ソート指定フィールドの配列VCResourceException - 処理失敗時にスローされますpublic void close()
throws VCResourceException
VCResultSetclose インタフェース内 VCResultSetVCResourceException - 処理失敗時にスローされますpublic int getCount()
throws VCResourceException
VCResultSetgetCount インタフェース内 VCResultSetVCResourceException - 処理失敗時にスローされますpublic Date getDate(String fieldName) throws VCResourceException
VCResultSetgetDate インタフェース内 VCResultSetfieldName - フィールド名VCResourceException - 処理失敗時にスローされますpublic double getDouble(String fieldName) throws VCResourceException
VCResultSetgetDouble インタフェース内 VCResultSetfieldName - フィールド名VCResourceException - 処理失敗時にスローされますpublic int getInt(String fieldName) throws VCResourceException
VCResultSetgetInt インタフェース内 VCResultSetfieldName - フィールド名VCResourceException - 処理失敗時にスローされますpublic String getString(String fieldName) throws VCResourceException
VCResultSetgetString インタフェース内 VCResultSetfieldName - フィールド名VCResourceException - このデータセットがクローズしている状態でメソッドがコールされたときpublic boolean next()
throws VCResourceException
VCResultSetnext インタフェース内 VCResultSetVCResourceException - 処理失敗時にスローされますCopyright © 2012 NTT DATA INTRAMART CORPORATION