Interface QueryEngine
-
- All Known Implementing Classes:
AbstractQueryEngine
,CoherenceQueryLanguageEngine
public interface QueryEngine
The QueryEngine interface provides a pluggable mechanism for producing queries that can be executed against a NamedCache.- Author:
- ic 2011.11.25
- See Also:
CoherenceQueryLanguageEngine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Query
prepareQuery(String sQuery, Map<String,Object> mapParams)
Prepares a Query for execution by replacing any parameter placeholders with the appropriate values from the parameter map.
-
-
-
Field Detail
-
DEFAULT
static final String DEFAULT
The name of the default (CohQL) query engine.- See Also:
- Constant Field Values
-
-
Method Detail
-
prepareQuery
Query prepareQuery(String sQuery, Map<String,Object> mapParams)
Prepares a Query for execution by replacing any parameter placeholders with the appropriate values from the parameter map.- Parameters:
sQuery
- query expressionmapParams
- parameter values used to resolve parameters from query expression- Returns:
- a Query instance ready for execution
-
-