T
- The builder type that is returned on terminal operationspublic interface OrderByBuilderExperimental<T extends OrderByBuilder<T>> extends OrderByBuilder<T>
Modifier and Type | Method and Description |
---|---|
T |
orderByFunction(String expression,
boolean ascending,
boolean nullFirst)
Adds an order by clause with the given expression to the query.
|
T |
orderByFunctionAsc(String expression)
Like
orderByFunctionAsc(java.lang.String, boolean) but with nullFirst set to false. |
T |
orderByFunctionAsc(String expression,
boolean nullFirst)
Like
orderByFunction(java.lang.String, boolean, boolean) but with ascending set to true. |
T |
orderByFunctionDesc(String expression)
Like
OrderByBuilder.orderByDesc(java.lang.String, boolean) but with nullFirst set to false. |
T |
orderByFunctionDesc(String expression,
boolean nullFirst)
Like
orderByFunction(java.lang.String, boolean, boolean) but with ascending set to false. |
orderBy, orderByAsc, orderByAsc, orderByDesc, orderByDesc
T orderByFunction(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 orderByFunctionAsc(String expression)
orderByFunctionAsc(java.lang.String, boolean)
but with nullFirst
set to false.expression
- The expression for the order by clauseT orderByFunctionAsc(String expression, boolean nullFirst)
orderByFunction(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 orderByFunctionDesc(String expression)
OrderByBuilder.orderByDesc(java.lang.String, boolean)
but with nullFirst
set to false.expression
- The expression for the order by clauseT orderByFunctionDesc(String expression, boolean nullFirst)
orderByFunction(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 © 2015 Blazebit. All Rights Reserved.