クラス EntityStreamSearchHandler.StreamSearchResult
java.lang.Object
org.iplass.mtp.entity.SearchResult<T>
org.iplass.mtp.impl.entity.EntityStreamSearchHandler.StreamSearchResult
- すべての実装されたインタフェース:
AutoCloseable,Iterable<T>
- 含まれているクラス:
EntityStreamSearchHandler<T>
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース org.iplass.mtp.entity.SearchResult
SearchResult.ResultMode -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidclose()SearchResultをクローズする。protected voidfinalize()getFirst()先頭の1件目のデータを取得する。getList()当該SearchResultのResultModeを取得。<P> List<P> getValueList(int index) 検索結果Listのうち、当該index項目のみのリストを取得する。<P> List<P> getValueList(String propertyName) 検索結果EntityListのうち、当該propertyName項目のみのリストを取得する。iterator()クラスから継承されたメソッド org.iplass.mtp.entity.SearchResult
getTotalCountクラスから継承されたメソッド java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド java.lang.Iterable
forEach, spliterator
-
コンストラクタの詳細
-
StreamSearchResult
public StreamSearchResult(int totalCount)
-
-
メソッドの詳細
-
getList
- オーバーライド:
getListクラス内SearchResult<T>
-
getFirst
クラスからコピーされた説明:SearchResult先頭の1件目のデータを取得する。- オーバーライド:
getFirstクラス内SearchResult<T>- 戻り値:
- 1件目のデータ。検索結果がない場合はnull。
-
getValueList
クラスからコピーされた説明:SearchResult検索結果EntityListのうち、当該propertyName項目のみのリストを取得する。 TがEntityの場合(EntityManager#searchEntity())のみ当該メソッド利用可能。- オーバーライド:
getValueListクラス内SearchResult<T>- パラメータ:
propertyName- Listとして取得したいpropertyName- 戻り値:
-
getValueList
クラスからコピーされた説明:SearchResult検索結果Listのうち、当該index項目のみのリストを取得する。 TがObject[]の場合(EntityManager#search())のみ当該メソッド利用可能。- オーバーライド:
getValueListクラス内SearchResult<T>- パラメータ:
index- Listとして取得したい値のインデックス(0始まり)- 戻り値:
-
iterator
-
getResultMode
クラスからコピーされた説明:SearchResult当該SearchResultのResultModeを取得。- オーバーライド:
getResultModeクラス内SearchResult<T>- 戻り値:
-
close
public void close()クラスからコピーされた説明:SearchResultSearchResultをクローズする。SearchResult.ResultMode.STREAMの場合は、当該SearchResult利用後、呼び出し必須。- 定義:
closeインタフェース内AutoCloseable- オーバーライド:
closeクラス内SearchResult<T>
-
finalize
-