|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Responsible for storing IQueryResult
s.
This is not a cache. The underlying implementation might cache internally, but objects that are stored MUST be retrieved reliably when requested.
Method Summary | |
int |
delete(IQuery theQuery)
Removes the data matching the specified query from the store. |
void |
insert(IQueryResult theQueryResult)
Stores the given query result. |
IQueryResult |
select(IQuery theQuery)
Returns the query result from the store that matches the given query. |
Method Detail |
public void insert(IQueryResult theQueryResult) throws QueryResultStoreException
theQueryResult
- The IQueryResult
.
QueryResultStoreException
- If the insert operation could not be successfully completed.public IQueryResult select(IQuery theQuery) throws QueryResultStoreException
theQuery
- The query.
IQueryResult
matching the query.
QueryResultStoreException
- If the select operation could not be successfully completed.public int delete(IQuery theQuery) throws QueryResultStoreException
theQuery
- The query.
QueryResultStoreException
- If the delete operation could not be successfully completed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |