Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Interface StatementBuilder.ExposesMergeAction
- All Known Subinterfaces:
StatementBuilder.BuildableOngoingMergeAction
,StatementBuilder.OngoingMerge
- Enclosing interface:
StatementBuilder
public static interface StatementBuilder.ExposesMergeAction
Provides a way to specify an action that happens after a
MERGE
clause.- Since:
- 2020.1.2
-
Method Summary
Modifier and TypeMethodDescription@NotNull StatementBuilder.OngoingMergeAction
onCreate()
This allows to specify the action that should happen when the merge clause lead to the creation of a new pattern.@NotNull StatementBuilder.OngoingMergeAction
onMatch()
This allows to specify the action that should happen when the pattern of the merge clause already existed and matched.
-
Method Details
-
onCreate
This allows to specify the action that should happen when the merge clause lead to the creation of a new pattern.- Returns:
- an ongoing definition of a merge action.
-
onMatch
This allows to specify the action that should happen when the pattern of the merge clause already existed and matched.- Returns:
- an ongoing definition of a merge action.
-