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 Description protected SortOrderOrdering. sortOrderMethods in org.apache.cayenne.query that return SortOrder Modifier and Type Method Description SortOrderOrdering. getSortOrder()Returns sort order for this orderingstatic SortOrderSortOrder. 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 Description voidSelectQuery. 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.voidOrdering. setSortOrder(SortOrder order)Sets the sort order for this ordering.Constructors in org.apache.cayenne.query with parameters of type SortOrder Constructor Description Ordering(String sortPathSpec, SortOrder sortOrder)Ordering(Expression sortSpec, SortOrder sortOrder)
-