Class NamedQuery

  • Direct Known Subclasses:
    DirectQuery

    public class NamedQuery
    extends Object
    Holder for configured named query data.
    Author:
    ic 2011.12.03
    • Constructor Detail

      • NamedQuery

        public NamedQuery​(String sName,
                          String sExpression,
                          String sQueryEngine,
                          int cMaxResults)
        Construct an instance of NamedQuery.
        Parameters:
        sName - query name
        sExpression - query expression
        sQueryEngine - name of query engine responsible to execute this query
        cMaxResults - max size of result set that this query can return
    • Method Detail

      • getName

        public String getName()
        Return the query name.
        Returns:
        query name
      • getExpression

        public String getExpression()
        Return the query expression.
        Returns:
        query expression
      • getQueryEngineName

        public String getQueryEngineName()
        Return the name of the query engine responsible to execute this query.
        Returns:
        query engine name
      • getMaxResults

        public int getMaxResults()
        Return the max allowed result set size.
        Returns:
        max size of the result set