|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AbstractQueryBuilder<ExpressionType>
| Method Summary | |
|---|---|
AbstractQueryBuilder<ExpressionType> |
limit()
Adds the FETCH FIRST ROW ONLY expression for this query. |
AbstractQueryBuilder<ExpressionType> |
limit(Integer max)
Adds the FETCH FIRST <number> ROWS ONLY expression for this query. |
AbstractQueryBuilder<ExpressionType> |
limit(NonBooleanExpression max)
Adds the FETCH FIRST <number> ROWS ONLY expression for this query. |
AbstractQueryBuilder<ExpressionType> |
offset(Integer skip)
Adds the OFFSET <number> ROWS expression for this query. |
AbstractQueryBuilder<ExpressionType> |
offset(NonBooleanExpression skip)
Adds the OFFSET <number> ROWS expression for this query. |
| Methods inherited from interface org.sql.generation.api.grammar.builders.AbstractBuilder |
|---|
createExpression |
| Method Detail |
|---|
AbstractQueryBuilder<ExpressionType> limit()
FETCH FIRST ROW ONLY expression for this query. The resulting LimitSpecification will
have its count as null.
AbstractQueryBuilder<ExpressionType> limit(Integer max)
FETCH FIRST <number> ROWS ONLY expression for this query. Calling this method is equivalent of
calling limit(NonBooleanExpression) and passing the NumericLiteral representing the given number
as the parameter.
max - The maximum amount of rows for this query to return. Use null to remove the
FETCH FIRST <number> ROWS ONLY expression.
AbstractQueryBuilder<ExpressionType> limit(NonBooleanExpression max)
FETCH FIRST <number> ROWS ONLY expression for this query.
max - The maximum amount of rows for this query to return. May be subquery or something else that evaluates
to number or NULL. Use null to remove the FETCH FIRST <number> ROWS ONLY
expression.
AbstractQueryBuilder<ExpressionType> offset(Integer skip)
OFFSET <number> ROWS expression for this query. Calling this method is equivalen of calling
offset(NonBooleanExpression) and passing the NumericLiteral representing the given number as the
parameter.
skip - The amount of rows to skip before starting to include them into this query. Use null to
remove the OFFSET <number> ROWS expression.
AbstractQueryBuilder<ExpressionType> offset(NonBooleanExpression skip)
OFFSET <number> ROWS expression for this query.
skip - The amount of rows to skip before starting to include them into this query. May be subquery or
something else that evaluates to number or NULL. Use null to remove the
OFFSET <number> ROWS expression.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||