org.jboss.dna.graph.query.model
Class QueryCommand

java.lang.Object
  extended by org.jboss.dna.graph.query.model.Command
      extended by org.jboss.dna.graph.query.model.QueryCommand
All Implemented Interfaces:
Serializable, LanguageObject, Visitable
Direct Known Subclasses:
Query, SetQuery

public abstract class QueryCommand
extends Command

Represents the abstract base class for all query commands. Subclasses include Query and SetQuery.

See Also:
Serialized Form

Method Summary
 Limit getLimits()
          Get the limits associated with this query.
 List<Ordering> getOrderings()
          Return the orderings for this query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.dna.graph.query.model.Visitable
accept
 

Method Detail

getOrderings

public final List<Ordering> getOrderings()
Return the orderings for this query.

Returns:
the list of orderings; never null

getLimits

public final Limit getLimits()
Get the limits associated with this query.

Returns:
the limits; never null but possibly unlimited


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.