Package org.neo4j.cypherdsl.core
Interface StatementBuilder.TerminalExposesOrderBy
-
- All Known Subinterfaces:
StatementBuilder.OngoingReadingAndReturn
- Enclosing interface:
- StatementBuilder
public static interface StatementBuilder.TerminalExposesOrderByA step that exposes several methods to specify ordering. This is a terminal operation just before a statement is buildable.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementBuilder.TerminalOngoingOrderDefinitionorderBy(Expression expression)Order the result set by an expression.StatementBuilder.OngoingMatchAndReturnWithOrderorderBy(SortItem... sortItem)Order the result set by one or moresort items.
-
-
-
Method Detail
-
orderBy
StatementBuilder.OngoingMatchAndReturnWithOrder orderBy(SortItem... sortItem)
Order the result set by one or moresort items. Those can be retrieved for all expression withCypher.sort(Expression)or directly from properties.- Parameters:
sortItem- One or more sort items- Returns:
- A build step that still offers methods for defining skip and limit
-
orderBy
StatementBuilder.TerminalOngoingOrderDefinition orderBy(Expression expression)
Order the result set by an expression.- Parameters:
expression- The expression to order by- Returns:
- A step that allows for adding more expression or fine-tuning the sort direction of the last expression
-
-