Package | Description |
---|---|
jakarta.persistence.criteria |
Jakarta 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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.