java.lang.Object
org.neo4j.cypherdsl.core.SortItem
- All Implemented Interfaces:
Visitable
A sort item can be used in an
ORDER BY clause and changes the order of the items being returned from a query.- Since:
- 1.0
- Author:
- Gerrit Meier, Michael J. Simons
-
Method Details
-
ascending
Creates a new sort item from this instance, setting the sort direction to ascending.- Returns:
- A new sort item.
-
descending
Creates a new sort item from this instance, setting the sort direction to descending.- Returns:
- A new sort item.
-
accept
Description copied from interface:Visitable
-