Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
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.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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.