Class AdvancedQueryContext

  • All Implemented Interfaces:
    java.io.Serializable

    public class AdvancedQueryContext
    extends QueryContext
    Extension class to the basic ordering and pagination queries which use QueryContext. The AdvancedQueryContext is intended for use wherever advanced query functionality provided by the KIE Query Service which provides advanced search capabilities that are based on Dashbuilder DataSets.
    See Also:
    Serialized Form
    • Constructor Detail

      • AdvancedQueryContext

        public AdvancedQueryContext()
      • AdvancedQueryContext

        public AdvancedQueryContext​(QueryContext queryContext)
      • AdvancedQueryContext

        public AdvancedQueryContext​(QueryContext queryContext,
                                    java.lang.String orderByClause)
      • AdvancedQueryContext

        public AdvancedQueryContext​(java.lang.String orderByClause)
    • Method Detail

      • getOrderByClause

        public java.lang.String getOrderByClause()
        Returns:
        the SQL Order By clause
      • setOrderByClause

        public void setOrderByClause​(java.lang.String orderByClause)
        Set the ORDER BY clause for advanced query. For instance: SELECT * FROM PROCESSINSTANCELOG ORDER BY PROCESSID ASC, PROCESSINSTANCEID DESC has orderByClause of "PROCESSID ASC, PROCESSINSTANCEID DESC"
        Parameters:
        orderByClause - the SQL Order By clause to set