Class AbstractQueryEngine.ParsedQuery

java.lang.Object
com.tangosol.coherence.rest.query.AbstractQueryEngine.ParsedQuery
Enclosing class:
AbstractQueryEngine

protected static class AbstractQueryEngine.ParsedQuery extends Object
Immutable helper class that wraps both final query string and a map of parameter types, keyed by parameter name.
  • Constructor Details

    • ParsedQuery

      public ParsedQuery(String sQuery, Map<String,Class> mapParameterTypes)
      Construct ParsedQuery instance.
      Parameters:
      sQuery - query string without parameter names
      mapParameterTypes - a map of parameter types keyed by parameter name
  • Method Details

    • getQuery

      public String getQuery()
      Return the query string with parameter types removed.
      Returns:
      query string without parameter types
    • getParameterTypes

      public Map<String,Class> getParameterTypes()
      Return a map of parameter types keyed by parameter name.
      Returns:
      a map of parameter types keyed by parameter name