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 aMERGE
clause.- Since:
- 2020.1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementBuilder.OngoingMergeAction
onCreate()
This allows to specify the action that should happen when the merge clause lead to the creation of a new pattern.StatementBuilder.OngoingMergeAction
onMatch()
This allows to specify the action that should happen when the pattern of the merge clause already existed and matched.
-
-
-
Method Detail
-
onCreate
StatementBuilder.OngoingMergeAction 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
StatementBuilder.OngoingMergeAction 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.
-
-