ModeShape Distribution 3.0.0.Beta4

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

All Known Subinterfaces:
QueryCommand, SelectQuery, SetQuery, SetQueryObjectModel
All Known Implementing Classes:
Query, SelectQuery, SetQuery, SetQueryObjectModel

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

ModeShape Distribution 3.0.0.Beta4

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