Class 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 Detail

      • 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 Detail

      • 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