Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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