Package org.chenile.query.service.impl
Class BaseQueryStore
java.lang.Object
org.chenile.query.service.impl.BaseQueryStore
- All Implemented Interfaces:
QueryStore
- Direct Known Subclasses:
QueryDefinitions
,QueryStoreImpl
Implementation of query store. This stores a MYbatis query name along with query meta data
Currently this implementation is done in a map. Map gets initialized during start up.
See
QueryDefinitions
for a concrete implementation.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadata
(QueryMetadata queryMetadata) abstract QueryMetadata
retrieveQueryIdFromStore
(String queryId) void
setStore
(Map<String, QueryMetadata> store)
-
Field Details
-
store
-
-
Constructor Details
-
BaseQueryStore
public BaseQueryStore()
-
-
Method Details
-
retrieve
- Specified by:
retrieve
in interfaceQueryStore
-
addMetadata
-
setStore
-
retrieveQueryIdFromStore
-