Package org.neo4j.cypherdsl.core
Interface StatementBuilder.TerminalExposesLimit
-
- All Superinterfaces:
StatementBuilder.BuildableStatement
- All Known Subinterfaces:
StatementBuilder.OngoingMatchAndReturnWithOrder,StatementBuilder.OngoingReadingAndReturn,StatementBuilder.TerminalOngoingOrderDefinition
- Enclosing interface:
- StatementBuilder
public static interface StatementBuilder.TerminalExposesLimit extends StatementBuilder.BuildableStatement
A step that exposes thelimit(Number)method.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementBuilder.BuildableStatementlimit(java.lang.Number number)Limits the number of returned records.StatementBuilder.BuildableStatementlimit(Expression expression)Limits the number of returned records.-
Methods inherited from interface org.neo4j.cypherdsl.core.StatementBuilder.BuildableStatement
build, explain, profile
-
-
-
-
Method Detail
-
limit
StatementBuilder.BuildableStatement 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.BuildableStatement 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
-
-