org.modeshape.jcr.api.query.qom
Interface QueryCommand

All Known Subinterfaces:
JcrQueryCommand, SelectQuery, SetQuery, SetQueryObjectModel
All Known Implementing Classes:
JcrSelectQuery, JcrSetQuery, JcrSetQueryObjectModel

public interface QueryCommand

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


Method Summary
 Column[] getColumns()
          Gets the columns for this query.
 Limit getLimits()
          Get the limits associated with this query.
 Ordering[] getOrderings()
          Gets the orderings for this query.
 

Method Detail

getOrderings

Ordering[] getOrderings()
Gets the orderings for this query.

Returns:
an array of zero or more orderings; non-null

getColumns

Column[] getColumns()
Gets the columns for this query.

Returns:
an array of zero or more columns; non-null

getLimits

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

Returns:
the limits; never null but possibly unlimited


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