T - The Builder type that the clause is part of.public interface SolutionModifierClause<T extends AbstractQueryBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
addGroupBy(Expr groupBy)
Add an expression to the group by clause.
|
T |
addGroupBy(Object groupBy)
Add a variable to the group by clause.
|
T |
addGroupBy(Object var,
Expr expr)
Add var and expression to the group by clause.
|
T |
addGroupBy(Object var,
String expr)
Add var and expression to the group by clause.
|
T |
addHaving(Expr expression)
Add a having expression.
|
T |
addHaving(Object var)
Add a having expression.
|
T |
addHaving(String expression)
Add a having expression.
|
T |
addOrderBy(Expr orderBy)
Add an ascending order by.
|
T |
addOrderBy(Expr orderBy,
Order order)
Add an order by with direction specified.
|
T |
addOrderBy(Object orderBy)
Add an ascending order by.
|
T |
addOrderBy(Object orderBy,
Order order)
Add an order by with direction specified.
|
T |
addOrderBy(SortCondition orderBy)
Add an ascending order by.
|
SolutionModifierHandler |
getSolutionModifierHandler()
Get the Solution modifier for this clause.
|
T |
setLimit(int limit)
Set the limit.
|
T |
setOffset(int offset)
Set the offset.
|
T addOrderBy(Expr orderBy)
orderBy - The expression to order by.ExprFactory,
NodeValue,
AbstractQueryBuilder.makeExpr(String)T addOrderBy(Object orderBy)
orderBy - The object to order by.T addOrderBy(SortCondition orderBy)
orderBy - The SortCondition to order by.T addOrderBy(Expr orderBy, Order order)
orderBy - The expression to order by.order - The direction to order.T addOrderBy(Object orderBy, Order order)
orderBy - The object to order by.order - The direction to order.T addGroupBy(Object groupBy)
groupBy - The object to group by.T addGroupBy(Expr groupBy)
groupBy - The expression to add.T addGroupBy(Object var, Expr expr)
var - The variable to add.expr - The expression to add.T addGroupBy(Object var, String expr)
var - The variable to add.expr - The expression to add.T addHaving(String expression) throws ParseException
expression - Expression to evaluate for the having.ParseExceptionT addHaving(Expr expression) throws ParseException
expression - Expression to evaluate for the having.ParseExceptionExprFactory,
NodeValue,
AbstractQueryBuilder.makeExpr(String)T addHaving(Object var) throws ParseException
var - the variable to have.ParseExceptionT setLimit(int limit)
limit - the maximum number of results to return.T setOffset(int offset)
offset - the number of results to skip before returning results..SolutionModifierHandler getSolutionModifierHandler()
Licensed under the Apache License, Version 2.0