Class SortItem
java.lang.Object
org.neo4j.cypherdsl.core.SortItem
- All Implemented Interfaces:
Visitable
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates a new sort item from this instance, setting the sort direction to ascending.Creates a new sort item from this instance, setting the sort direction to descending.toString()Mostvisitableswill render themselves into a Cypher fragment preceded with the actual classname.
-
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
-
toString
Description copied from interface:VisitableMostvisitableswill render themselves into a Cypher fragment preceded with the actual classname. The representation however is not cached - in contrast to the ones for full statements. UsingtoStringis recommended for debugging purposes mainly, and not for production use.The concrete classname has been prepended to help debugging and actually to discourage using fragments to build queries without explicitly rendering them, either as statement or going through the renderer on purpose.
-