## Uses of Class
org.apache.cayenne.query.SortOrder

- Packages that use SortOrder
  Package | Description
  --- | ---
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- - ### Uses of SortOrder in org.apache.cayenne.query

    Fields in org.apache.cayenne.query declared as SortOrder
    Modifier and Type | Field and Description
    --- | ---
    `protected SortOrder` | Ordering.`sortOrder`

    Methods in org.apache.cayenne.query that return SortOrder
    Modifier and Type | Method and Description
    --- | ---
    `SortOrder` | Ordering.`getSortOrder()` Returns sort order for this ordering
    `static SortOrder` | SortOrder.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static SortOrder[]` | SortOrder.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.cayenne.query with parameters of type SortOrder
    Modifier and Type | Method and Description
    --- | ---
    `void` | SelectQuery.`addOrdering(String sortPathSpec, SortOrder order)` Adds ordering specification to this query orderings.
    `ColumnSelect<T>` | ColumnSelect.`orderBy(String property, SortOrder sortOrder)` Add an ordering on the given property.
    `ObjectSelect<T>` | ObjectSelect.`orderBy(String property, SortOrder sortOrder)` Add an ordering on the given property.
    `void` | Ordering.`setSortOrder(SortOrder order)` Sets the sort order for this ordering.

    Constructors in org.apache.cayenne.query with parameters of type SortOrder
    Constructor and Description
    `Ordering(Expression sortSpec, SortOrder sortOrder)`
    `Ordering(String sortPathSpec, SortOrder sortOrder)`

Copyright © 2001–2023 Apache Cayenne. All rights reserved.