public interface AbstractQueryBuilder<ExpressionType> extends AbstractBuilder<ExpressionType>
| Modifier and Type | Method and Description |
|---|---|
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. |
createExpressionAbstractQueryBuilder<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.Copyright © 2010-2012. All Rights Reserved.