|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectts.query.QueryResultList
ts.query.QueryResultList.ThreadSafeQueryResultList
protected static class QueryResultList.ThreadSafeQueryResultList
コンストラクタで指定されたQueryResultListオブジェクトをスレッド・
セーフ化した結果リスト・オブジェクト。
| 入れ子のクラスの概要 |
|---|
| クラス ts.query.QueryResultList から継承された入れ子のクラス/インタフェース |
|---|
QueryResultList.ThreadSafeQueryResultList |
| コンストラクタの概要 | |
|---|---|
QueryResultList.ThreadSafeQueryResultList(QueryResultList rsltLst)
スレッド・セーフ化する QueryResultListオブジェクトを引数にとる
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
void |
addResult(QueryResult rslt)
クエリの結果オブジェクトを追加する。 |
int |
countResults()
このオブジェクトに格納されている結果オブジェクトの数を取得する。 |
java.util.List<QueryResult> |
getAllResults()
このオブジェクトに格納されている全ての結果オブジェクトのリストを取得する。 |
QueryResult |
getFirstResult()
このオブジェクトに格納されている最初の結果オブジェクトを取得する。 |
QueryResult |
getFirstResultByConnectionId(java.lang.String connId)
指定されたコネクションIDに対する最初の結果オブジェクトを取得する。 |
QueryResult |
getFirstResultByQueryId(java.lang.String queryId)
指定されたクエリIDに対する最初の結果オブジェクトを取得する。 |
protected QueryResultList |
getInner()
スレッド・セーフ化される QueryResultListオブジェクトを取得する。 |
QueryResult |
getLastResult()
このオブジェクトに格納されている最後の結果オブジェクトを取得する。 |
QueryResult |
getLastResultByConnectionId(java.lang.String connId)
指定されたコネクションIDに対する結果オブジェクトのリストを取得する。 |
QueryResult |
getLastResultByQueryId(java.lang.String queryId)
指定されたクエリIDに対する結果オブジェクトのリストを取得する。 |
QueryResult |
getResultByException(ts.util.ReasonedException exc)
指定された例外オブジェクトを持った結果オブジェクトのリストを取得する。 |
java.util.List<QueryResult> |
getResultsByConnectionId(java.lang.String connId)
指定されたコネクションIDに対する結果オブジェクトのリストを取得する。 |
java.util.List<QueryResult> |
getResultsByQueryId(java.lang.String queryId)
指定されたクエリIDに対する結果オブジェクトのリストを取得する。 |
long |
getSpentTimeMillis()
複数のクエリを実行するのに要した時間を取得する。 |
boolean |
isSuccess()
複数のクエリが全て成功したかどうかを取得する。 |
void |
resetSpentTimeMillis()
複数のクエリを全て実行するのに要した時間をリセットする。 |
void |
setSpentTimeMillis(long millis)
複数のクエリを全て実行するのに要した時間を設定する。 |
| クラス ts.query.QueryResultList から継承されたメソッド |
|---|
entryMappedList |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public QueryResultList.ThreadSafeQueryResultList(QueryResultList rsltLst)
QueryResultListオブジェクトを引数にとる
コンストラクタ。
rsltLst - スレッド・セーフ化されるQueryResultList
オブジェクト。| メソッドの詳細 |
|---|
protected QueryResultList getInner()
QueryResultListオブジェクトを取得する。
QueryResultListオブジェクト。public void addResult(QueryResult rslt)
QueryResultList 内の addResultrslt - 結果オブジェクト。public boolean isSuccess()
QueryResultList 内の isSuccesspublic long getSpentTimeMillis()
QueryResultList.setSpentTimeMillis(long)メソッドを使って処理時間を設定した
場合は、その値を返す。
QueryResultList 内の getSpentTimeMillispublic void setSpentTimeMillis(long millis)
QueryResultList 内の setSpentTimeMillismillis - 複数のクエリを実行するのに要した時間[msec]。public void resetSpentTimeMillis()
QueryResultList.setSpentTimeMillis(long)
メソッドを使って設定した所要時間をリセットし、QueryResultList.getSpentTimeMillis()
メソッドがこのオブジェクトに格納されて結果オブジェクトの所要時間の合計を
返すようにする。
QueryResultList 内の resetSpentTimeMillispublic int countResults()
QueryResultList 内の countResultspublic java.util.List<QueryResult> getAllResults()
QueryResultList 内の getAllResultspublic QueryResult getFirstResult()
QueryResultList 内の getFirstResultpublic QueryResult getLastResult()
QueryResultList 内の getLastResultpublic java.util.List<QueryResult> getResultsByConnectionId(java.lang.String connId)
QueryResultList 内の getResultsByConnectionIdconnId - コネクションID。
public QueryResult getFirstResultByConnectionId(java.lang.String connId)
QueryResultList 内の getFirstResultByConnectionIdconnId - コネクションID。
public QueryResult getLastResultByConnectionId(java.lang.String connId)
QueryResultList 内の getLastResultByConnectionIdconnId - コネクションID。
public java.util.List<QueryResult> getResultsByQueryId(java.lang.String queryId)
QueryResultList 内の getResultsByQueryIdqueryId - クエリID。
public QueryResult getFirstResultByQueryId(java.lang.String queryId)
QueryResultList 内の getFirstResultByQueryIdqueryId - クエリID。
public QueryResult getLastResultByQueryId(java.lang.String queryId)
QueryResultList 内の getLastResultByQueryIdqueryId - クエリID。
public QueryResult getResultByException(ts.util.ReasonedException exc)
QueryResultList 内の getResultByExceptionexc - 理由付き例外オブジェクト。
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||