Interface StatementBuilder.ExposesLimit
- All Known Subinterfaces:
StatementBuilder.OngoingOrderDefinition, StatementBuilder.OngoingReadingAndWithWithSkip, StatementBuilder.OngoingReadingAndWithWithWhereAndOrder, StatementBuilder.OrderableOngoingReadingAndWith, StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere, StatementBuilder.OrderableOngoingReadingAndWithWithWhere
- Enclosing interface:
StatementBuilder
public static interface StatementBuilder.ExposesLimit
A step that exposes the
limit(Number) method.- Since:
- 1.0
- Author:
- Michael J. Simons, Gerrit Meier, Andreas Berger
-
Method Summary
Modifier and TypeMethodDescriptionLimits the number of returned records.limit(Expression expression) Limits the number of returned records.
-
Method Details
-
limit
Limits the number of returned records.- Parameters:
number- how many records to return. If this is null, all the records are returned.- Returns:
- a buildable match statement.
-
limit
Limits the number of returned records.- Parameters:
expression- how many records to return. If this is null, all the records are returned.- Returns:
- a buildable match statement.
- Since:
- 2021.0.0
-