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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the default (CohQL) query engine.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

  • Method Details

    • 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 expression
      mapParams - parameter values used to resolve parameters from query expression
      Returns:
      a Query instance ready for execution