Class CreateRelationshipStatementHolder
java.lang.Object
org.springframework.data.neo4j.core.mapping.CreateRelationshipStatementHolder
@API(status=INTERNAL,
since="6.0")
public final class CreateRelationshipStatementHolder
extends Object
The
CreateRelationshipStatementHolder
holds the Cypher Statement to create a relationship as well as the optional
properties that describe the relationship in case of more than a simple relationship. By holding the relationship
creation cypher together with the properties, we can reuse the same logic in the Neo4jTemplate
as well as in
the ReactiveNeo4jTemplate
.- Since:
- 6.0
- Author:
- Philipp Tölle, Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(String key, Object property) org.neo4j.cypherdsl.core.Statement
-
Method Details
-
getStatement
public org.neo4j.cypherdsl.core.Statement getStatement() -
getProperties
-
addProperty
-