Uses of Class
org.apache.cayenne.query.Ordering
Package
Description
Property API
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of Ordering in org.apache.cayenne.access.translator.select
Modifier and TypeMethodDescriptionFluentSelectWrapper.getOrderings()
SelectQueryWrapper.getOrderings()
Deprecated.TranslatableQueryWrapper.getOrderings()
-
Uses of Ordering in org.apache.cayenne.exp.property
Modifier and TypeMethodDescriptionBaseProperty.asc()
BaseProperty.ascInsensitive()
BaseProperty.desc()
BaseProperty.descInsensitive()
-
Uses of Ordering in org.apache.cayenne.map
Modifier and TypeMethodDescriptionSelectQueryDescriptor.getOrderings()
Returns list of orderings for this query.Modifier and TypeMethodDescriptionvoid
SelectQueryDescriptor.addOrdering
(Ordering ordering) Adds single ordering for this query.void
SelectQueryDescriptor.removeOrdering
(Ordering ordering) Removes single ordering from this query.Modifier and TypeMethodDescriptionvoid
SelectQueryDescriptor.setOrderings
(List<Ordering> orderings) Sets list of orderings for this query. -
Uses of Ordering in org.apache.cayenne.query
Modifier and TypeFieldDescriptionprotected Collection
<Ordering> FluentSelect.orderings
SelectQuery.orderings
Deprecated.Modifier and TypeMethodDescriptionFluentSelect.getOrderings()
SelectQuery.getOrderings()
Deprecated.Returns a list of orderings used by this query.Modifier and TypeMethodDescriptionvoid
SelectQuery.addOrdering
(Ordering ordering) Deprecated.Adds ordering specification to this query orderings.Add one or more orderings to this query.Add one or more orderings to this query.void
SelectQuery.removeOrdering
(Ordering ordering) Deprecated.Removes ordering.Returns Orderings with this Ordering followed by the provided next Ordering.Adds the given sort ordering to the end of this list and returns "this" so it can be chained again.Modifier and TypeMethodDescriptionvoid
SelectQuery.addOrderings
(Collection<? extends Ordering> orderings) Deprecated.Adds a list of orderings.static SelectQuery
<DataRow> SelectQuery.dataRowQuery
(Class<?> rootClass, Expression qualifier, List<Ordering> orderings) Deprecated.ColumnSelect.orderBy
(Collection<Ordering> orderings) Adds a list of orderings to this query.ObjectSelect.orderBy
(Collection<Ordering> orderings) Adds a list of orderings to this query.static <E> List
<E> Ordering.orderedList
(Collection<E> objects, List<? extends Ordering> orderings) Orders a given list of objects, using a List of Orderings applied according the default iteration order of the Orderings list.static <T> ObjectSelect
<T> ObjectSelect.query
(Class<T> entityType, Expression expression, List<Ordering> orderings) Creates a ObjectSelect that selects objects of a given persistent class and uses provided expression for its qualifier.static <T> SelectQuery
<T> SelectQuery.query
(Class<T> rootClass, Expression qualifier, List<? extends Ordering> orderings) Deprecated.Creates a SelectQuery that selects objects of a given persistent class that match supplied qualifier.ModifierConstructorDescriptionOrderings
(Collection<? extends Ordering> c) SelectQuery
(Class<T> rootClass, Expression qualifier, List<? extends Ordering> orderings) Deprecated.Creates a SelectQuery that selects objects of a given persistent class that match supplied qualifier.SelectQuery
(String objEntityName, Expression qualifier, List<? extends Ordering> orderings) Deprecated.Creates a SelectQuery that selects objects of a given persistent class that match supplied qualifier.SelectQuery
(DbEntity root, Expression qualifier, List<? extends Ordering> orderings) Deprecated.Creates a SelectQuery for the specified DbEntity with the given qualifier and orderings.SelectQuery
(ObjEntity root, Expression qualifier, List<? extends Ordering> orderings) Deprecated.Creates a SelectQuery for the specified ObjEntity with the given qualifier and orderings.