java.lang.Object
org.neo4j.cypherdsl.core.Properties
- All Implemented Interfaces:
Visitable
Represents the properties of a
node or a relationship when used as part of the
whole pattern (inside a MATCH, CREATE or MERGE clause as {p1: v1, p2: v2, pn: vn}.- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatic Propertiescreate(MapExpression expression) Wraps an expression into aPropertiesnode.toString()Mostvisitableswill render themselves into a Cypher fragment preceded with the actual classname.
-
Method Details
-
create
Wraps an expression into aPropertiesnode.- Parameters:
expression- Nullable expression- Returns:
- A properties expression
-
accept
Description copied from interface:Visitable -
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.
-