| Package | Description | 
|---|---|
| org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create
custom queries. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected SortOrder | Ordering. 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. | 
| 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. | 
| Constructor and Description | 
|---|
| Ordering(Expression sortSpec,
        SortOrder sortOrder) | 
| Ordering(String sortPathSpec,
        SortOrder sortOrder) | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.