| Package | Description | 
|---|---|
| javax.persistence.criteria | 
| Modifier and Type | Method and Description | 
|---|---|
Order | 
CriteriaBuilder.asc(Expression<?> x)
Create an ordering by the ascending value of the expression. 
 | 
Order | 
CriteriaBuilder.desc(Expression<?> x)
Create an ordering by the descending value of the expression. 
 | 
Order | 
Order.nullsFirst()
Set nulls to be positioned first in the ordering. 
 | 
Order | 
Order.nullsLast()
Set nulls to be positioned last in the ordering. 
 | 
Order | 
Order.reverse()
Switch the ordering. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Order> | 
CriteriaQuery.getOrderList()
Return the ordering expressions in order of precedence. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CriteriaQuery<T> | 
CriteriaQuery.orderBy(Order... o)
Specify the ordering expressions that are used to
 order the query results. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CriteriaQuery<T> | 
CriteriaQuery.orderBy(List<Order> o)
Specify the ordering expressions that are used to
 order the query results. 
 | 
Copyright © 2016. All rights reserved.