uCosminexus DocumentBroker Version 5 リファレンス API
DbjFetchInfoインターフェースは,検索結果取得情報を扱うインターフェースです。検索結果の取得開始位置,取得件数および最大取得件数などを取得,設定するメソッドを提供します。また,キャッシュ検索の実行時に使用するキャッシュ名およびキャッシュキーを取得,設定できます。
キャッシュ検索を実行すると検索結果がキャッシュされ,以降の検索では検索結果キャッシュから検索結果を取得できます。検索結果キャッシュは,同一セッションの同一キャッシュ名に対して有効です。
表5-5 DbjFetchInfoインターフェースで扱うプロパティ
| プロパティ名 | データ型 | getterメソッド | setterメソッド |
|---|---|---|---|
| cacheKey | int型 | getCacheKey | setCacheKey |
| cacheName | String型 | getCacheName | setCacheName |
| cacheTotal | int型 | getCacheTotal | setCacheTotal |
| comparator | Comparator | getComparator | setComparator |
| fetchCount | int型 | getFetchCount | setFetchCount |
| maxFetchCount | int型 | getMaxFetchCount | setMaxFetchCount |
| startIndex | int型 | getStartIndex | setStartIndex |
以降,DbjFetchInfoインターフェースのメソッドについて説明します。
All Rights Reserved. Copyright (C) 2012, Hitachi, Ltd.
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi Solutions, Ltd.