Class QueryCommand

  • All Implemented Interfaces:
    Cloneable, LanguageObject
    Direct Known Subclasses:
    Query, SetQuery

    public abstract class QueryCommand
    extends Command
    This is a common super class for the two types of query commands: Query and SetQuery. This class provides some useful commonalities when the type of query command is not known.
    • Constructor Detail

      • QueryCommand

        public QueryCommand()
    • Method Detail

      • getOrderBy

        public OrderBy getOrderBy()
        Get the order by clause for the query.
        Returns:
        order by clause
      • setOrderBy

        public void setOrderBy​(OrderBy orderBy)
        Set the order by clause for the query.
        Parameters:
        orderBy - New order by clause
      • getLimit

        public Limit getLimit()
      • setLimit

        public void setLimit​(Limit limit)
      • getProjectedQuery

        public abstract Query getProjectedQuery()