Skip navigation links
com.tangosol.coherence.rest.query
Class CoherenceQueryLanguageEngine
java.lang.Object
com.tangosol.coherence.rest.query.AbstractQueryEngine
com.tangosol.coherence.rest.query.CoherenceQueryLanguageEngine
- All Implemented Interfaces:
- QueryEngine
-
public class CoherenceQueryLanguageEngine
- extends AbstractQueryEngine
Coherence QL-based implementation of QueryEngine
.
The query expression consumed by this implementation is the "where" predicate of the Coherence Query Language.
Note: Although this query engine supports paging, the current implementation still handles entire result set on the client. That can lead to massive memory consumption (and possible OutOfMemoryErrors) if invoked on large caches with an unrestricted query.
- Author:
- ic 2011.12.04
Method Summary |
Query |
prepareQuery(java.lang.String sQuery, java.util.Map mapParams)
Prepares a Query for execution by replacing any parameter placeholders with the appropriate values from the parameter map. |
CoherenceQueryLanguageEngine
public CoherenceQueryLanguageEngine()
prepareQuery
public Query prepareQuery(java.lang.String sQuery,
java.util.Map mapParams)
- Prepares a Query for execution by replacing any parameter placeholders with the appropriate values from the parameter map.
-
- Parameters:
sQuery
- query expression
mapParams
- parameter values used to resolve parameters from query expression
- Returns:
- a Query instance ready for execution
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.