Package org.neo4j.cypherdsl.core
Class MergeAction
- java.lang.Object
-
- org.neo4j.cypherdsl.core.MergeAction
-
- All Implemented Interfaces:
Visitable
@API(status=EXPERIMENTAL, since="2020.1.2") public final class MergeAction extends java.lang.Object implements VisitableAn action or event that happens after aMERGEclause. It can either be one of two types:MergeAction.Type.ON_CREATEorMergeAction.Type.ON_MATCH.Both events supports the setting of properties, but not removing or adding labels. Multiple properties should be set in one action, but Cypher and openCypher allow for multiple
merge actions, with the same or different types.- Since:
- 2020.1.2
- Author:
- Michael J. Simons
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMergeAction.TypeThe type of the action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)MergeAction.TypegetType()
-
-
-
Method Detail
-
getType
@API(status=INTERNAL) public MergeAction.Type getType()
- Returns:
- Event type of this action.
-
-