Package org.neo4j.cypherdsl.core
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.ExposesLimitA step that exposes thelimit(Number)method.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementBuilder.OngoingReadingAndWithlimit(java.lang.Number number)Limits the number of returned records.StatementBuilder.OngoingReadingAndWithlimit(Expression expression)Limits the number of returned records.
-
-
-
Method Detail
-
limit
StatementBuilder.OngoingReadingAndWith limit(java.lang.Number number)
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
StatementBuilder.OngoingReadingAndWith limit(Expression expression)
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
-
-