Package org.chenile.query.service.impl
Class QueryDefinitions
java.lang.Object
org.chenile.query.service.impl.BaseQueryStore
org.chenile.query.service.impl.QueryDefinitions
- All Implemented Interfaces:
- QueryStore
Reads the query definitions from a JSON file that has been passed to it.
 There can be multiple JSON files with the same name in the project. It reads them all
 and gathers all the definitions in one place.
- 
Field SummaryFieldsFields inherited from class org.chenile.query.service.impl.BaseQueryStorestore
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprocessFile(Resource file) retrieveQueryIdFromStore(String queryId) Methods inherited from class org.chenile.query.service.impl.BaseQueryStoreaddMetadata, retrieve, setStore
- 
Field Details- 
loggerprivate final org.slf4j.Logger logger
- 
objectMapper
 
- 
- 
Constructor Details- 
QueryDefinitions- Throws:
- IOException
 
 
- 
- 
Method Details- 
processFile- Throws:
- IOException
 
- 
retrieveQueryIdFromStore- Specified by:
- retrieveQueryIdFromStorein class- BaseQueryStore
 
 
-