Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
Modifier and Type | Method | 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.reverse() |
Switch the ordering.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Order> |
CriteriaQuery.getOrderList() |
Return the ordering expressions in order of precedence.
|
Modifier and Type | Method | Description |
---|---|---|
CriteriaQuery<T> |
CriteriaQuery.orderBy(Order... o) |
Specify the ordering expressions that are used to
order the query results.
|
Modifier and Type | Method | Description |
---|---|---|
CriteriaQuery<T> |
CriteriaQuery.orderBy(java.util.List<Order> o) |
Specify the ordering expressions that are used to
order the query results.
|
Copyright © 2018. All rights reserved.