Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
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:
  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`

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

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