Package org.neo4j.cypherdsl.core
Interface StatementBuilder.ExposesMergeAction
-
- All Known Subinterfaces:
StatementBuilder.BuildableOngoingMergeAction,StatementBuilder.OngoingMerge
- Enclosing interface:
- StatementBuilder
public static interface StatementBuilder.ExposesMergeActionProvides a way to specify an action that happens after aMERGEclause.- Since:
- 2020.1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull StatementBuilder.OngoingMergeActiononCreate()This allows to specify the action that should happen when the merge clause lead to the creation of a new pattern.@NotNull StatementBuilder.OngoingMergeActiononMatch()This allows to specify the action that should happen when the pattern of the merge clause already existed and matched.
-
-
-
Method Detail
-
onCreate
@NotNull @CheckReturnValue @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.- Returns:
- an ongoing definition of a merge action.
-
onMatch
@NotNull @CheckReturnValue @NotNull 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.
-
-