## Uses of Class
org.modeshape.jcr.query.model.Ordering

- Packages that use Ordering
  Package | Description
  --- | ---
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  org.modeshape.jcr.query.engine | This package contains several fully-functional query engine implementations.
  org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
  org.modeshape.jcr.query.parse | This package defines the `QueryParser` interface, which defines a component that can parse a query represented in a specific language and produce the corresponding `abstract query model` representation.
  org.modeshape.jcr.query.plan | This package defines the `Planner` interface, the `CanonicalPlanner` implementation, and the `PlanNode` class that is used to represent a canonical query plan.
  org.modeshape.jcr.query.validate | This package provides the interfaces that define the tables and columns that can be queried.

- - ### Uses of Ordering in org.modeshape.jcr.query

    Fields in org.modeshape.jcr.query with type parameters of type Ordering
    Modifier and Type | Field and Description
    --- | ---
    `protected List<Ordering>` | QueryBuilder.`orderings`

  - ### Uses of Ordering in org.modeshape.jcr.query.engine

    Methods in org.modeshape.jcr.query.engine with parameters of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `protected RowExtractors.ExtractFromRow` | ScanningQueryEngine.`createSortingExtractor(Ordering ordering, Map<SelectorName,SelectorName> sourceNamesByAlias, QueryContext context, QueryResults.Columns columns, QuerySources sources)` Create an `RowExtractors.ExtractFromRow` instance that produces for given row a single object that can be used to sort all rows in the specified order.

    Method parameters in org.modeshape.jcr.query.engine with type arguments of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `protected RowExtractors.ExtractFromRow` | ScanningQueryEngine.`createSortingExtractor(List<Ordering> orderings, Map<SelectorName,SelectorName> sourceNamesByAlias, QueryContext context, QueryResults.Columns columns, QuerySources sources)` Create an `RowExtractors.ExtractFromRow` instance that produces for given row a single object that can be used to sort all rows in the specified order.

  - ### Uses of Ordering in org.modeshape.jcr.query.model

    Methods in org.modeshape.jcr.query.model that return Ordering
    Modifier and Type | Method and Description
    --- | ---
    `Ordering` | QueryObjectModelFactory.`ascending(DynamicOperand operand)`
    `Ordering` | QueryObjectModelFactory.`descending(DynamicOperand operand)`
    `Ordering[]` | SetQuery.`getOrderings()`

    Methods in org.modeshape.jcr.query.model that return types with arguments of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends Ordering>` | SetQuery.`orderings()`
    `List<? extends Ordering>` | QueryCommand.`orderings()` Return the orderings for this query.
    `List<? extends Ordering>` | Query.`orderings()`

    Methods in org.modeshape.jcr.query.model with parameters of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `SetQuery` | SetQuery.`adding(Ordering... orderings)`
    `Query` | Query.`adding(Ordering... orderings)` Create a copy of this query, but that returns results that are ordered by the `orderings` of this column as well as those supplied.
    `void` | Visitors.AbstractVisitor.`visit(Ordering obj)`
    `void` | Visitors.WalkAllVisitor.`visit(Ordering ordering)`
    `void` | Visitors.ReadableVisitor.`visit(Ordering ordering)`
    `void` | Visitors.JcrSql2Writer.`visit(Ordering ordering)`
    `void` | Visitor.`visit(Ordering obj)`

    Method parameters in org.modeshape.jcr.query.model with type arguments of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `Query` | Query.`orderedBy(List<Ordering> orderings)` Create a copy of this query, but one whose results should be ordered by the supplied orderings.

    Constructor parameters in org.modeshape.jcr.query.model with type arguments of type Ordering
    Constructor and Description
    `Query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.
    `SelectQuery(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.
    `SetQuery(QueryCommand left, SetQuery.Operation operation, QueryCommand right, boolean all, List<? extends Ordering> orderings, Limit limit)` Create a set query involving the supplied left- and right-hand-side queries.

  - ### Uses of Ordering in org.modeshape.jcr.query.parse

    Methods in org.modeshape.jcr.query.parse that return Ordering
    Modifier and Type | Method and Description
    --- | ---
    `protected Ordering` | BasicSqlQueryParser.`ordering(DynamicOperand operand, Order order, NullOrder nullOrder)`
    `protected Ordering` | BasicSqlQueryParser.`parseOrdering(TokenStream tokens, TypeSystem typeSystem, Source source)`

    Methods in org.modeshape.jcr.query.parse that return types with arguments of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `protected List<Ordering>` | BasicSqlQueryParser.`parseOrderBy(TokenStream tokens, TypeSystem typeSystem, Source source)`

    Method parameters in org.modeshape.jcr.query.parse with type arguments of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `protected Query` | BasicSqlQueryParser.`query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean distinct)`

  - ### Uses of Ordering in org.modeshape.jcr.query.plan

    Method parameters in org.modeshape.jcr.query.plan with type arguments of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `protected PlanNode` | CanonicalPlanner.`attachSorting(QueryContext context, PlanNode plan, List<? extends Ordering> orderings)` Attach SORT node at top of tree.

  - ### Uses of Ordering in org.modeshape.jcr.query.validate

    Methods in org.modeshape.jcr.query.validate with parameters of type Ordering
    Modifier and Type | Method and Description
    --- | ---
    `void` | Validator.`visit(Ordering obj)`

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