T
- The concrete builder typeBaseCriteriaBuilder<T,X>
, BaseCTECriteriaBuilder<X>
, BaseFinalSetOperationBuilder<T,X>
, BaseInsertCriteriaBuilder<T,X>
, BaseOngoingFinalSetOperationBuilder<T,X>
, BaseQueryBuilder<T,X>
, BaseSubqueryBuilder<X>
, CriteriaBuilder<T>
, FinalSetOperationCriteriaBuilder<T>
, FinalSetOperationCTECriteriaBuilder<T>
, FinalSetOperationSubqueryBuilder<T>
, FullQueryBuilder<T,X>
, FullSelectCTECriteriaBuilder<X>
, InsertCriteriaBuilder<T>
, LeafOngoingSetOperationCriteriaBuilder<X>
, LeafOngoingSetOperationCTECriteriaBuilder<X>
, LeafOngoingSetOperationSubqueryBuilder<X>
, OngoingFinalSetOperationCriteriaBuilder<T>
, OngoingFinalSetOperationCTECriteriaBuilder<T>
, OngoingFinalSetOperationSubqueryBuilder<T>
, OngoingSetOperationCriteriaBuilder<T,Y>
, OngoingSetOperationCTECriteriaBuilder<T,Y>
, OngoingSetOperationSubqueryBuilder<T,Y>
, PaginatedCriteriaBuilder<T>
, QueryBuilder<T,X>
, ReturningInsertCriteriaBuilder<T,X>
, SelectBaseCTECriteriaBuilder<X>
, SelectCTECriteriaBuilder<X>
, SelectRecursiveCTECriteriaBuilder<X>
, StartOngoingSetOperationCriteriaBuilder<X,Y>
, StartOngoingSetOperationCTECriteriaBuilder<X,Y>
, StartOngoingSetOperationSubqueryBuilder<X,Y>
, SubqueryBuilder<T>
public interface OrderByBuilder<T extends OrderByBuilder<T>>
Modifier and Type | Method | Description |
---|---|---|
T |
orderBy(String expression,
boolean ascending,
boolean nullFirst) |
Adds an order by clause with the given expression to the query.
|
T |
orderByAsc(String expression) |
Like
orderByAsc(java.lang.String, boolean) but with nullFirst set to false. |
T |
orderByAsc(String expression,
boolean nullFirst) |
Like
orderBy(java.lang.String, boolean, boolean) but with ascending set to true. |
T |
orderByDesc(String expression) |
Like
orderByDesc(java.lang.String, boolean) but with nullFirst set to false. |
T |
orderByDesc(String expression,
boolean nullFirst) |
Like
orderBy(java.lang.String, boolean, boolean) but with ascending set to false. |
T orderBy(String expression, boolean ascending, boolean nullFirst)
expression
- The expression for the order by clauseascending
- Wether the order should be ascending or descending.nullFirst
- Wether null elements should be ordered first or not.T orderByAsc(String expression)
orderByAsc(java.lang.String, boolean)
but with nullFirst
set to false.expression
- The expression for the order by clauseT orderByAsc(String expression, boolean nullFirst)
orderBy(java.lang.String, boolean, boolean)
but with ascending
set to true.expression
- The expression for the order by clausenullFirst
- Wether null elements should be ordered first or not.T orderByDesc(String expression)
orderByDesc(java.lang.String, boolean)
but with nullFirst
set to false.expression
- The expression for the order by clauseT orderByDesc(String expression, boolean nullFirst)
orderBy(java.lang.String, boolean, boolean)
but with ascending
set to false.expression
- The expression for the order by clausenullFirst
- Wether null elements should be ordered first or not.Copyright © 2014–2018 Blazebit. All rights reserved.