Package org.neo4j.cypherdsl.core
Interface StatementBuilder.OngoingMergeAction
-
- Enclosing interface:
- StatementBuilder
public static interface StatementBuilder.OngoingMergeAction
A variant ofStatementBuilder.ExposesSet
that allows for further chaining of actions.- Since:
- 2020.1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StatementBuilder.BuildableOngoingMergeAction
mutate(Expression target, Expression properties)
Creates a+=
operation.default StatementBuilder.BuildableOngoingMergeAction
mutate(Named variable, Expression properties)
Creates a+=
operation.StatementBuilder.BuildableOngoingMergeAction
set(Expression... expressions)
Adds aSET
clause to the statement.default StatementBuilder.BuildableOngoingMergeAction
set(Named variable, Expression expression)
Adds aSET
clause to the statement, modifying the given named thing with an expression.
-
-
-
Method Detail
-
set
StatementBuilder.BuildableOngoingMergeAction set(Expression... expressions)
Adds aSET
clause to the statement. The list of expressions must be even, each pair will be turned into SET operation.- Parameters:
expressions
- The list of expressions to use in a set clause.- Returns:
- An ongoing match and update
-
set
default StatementBuilder.BuildableOngoingMergeAction set(Named variable, Expression expression)
Adds aSET
clause to the statement, modifying the given named thing with an expression.- Parameters:
variable
- The named thing to modifyexpression
- The modifying expression- Returns:
- An ongoing match and update
-
mutate
StatementBuilder.BuildableOngoingMergeAction mutate(Expression target, Expression properties)
Creates a+=
operation. The left hand side must resolve to a container (either a node or a relationship) of properties and the right hand side must be a map of new or updated properties- Parameters:
target
- The target container that should be modifiedproperties
- The new properties- Returns:
- An ongoing match and update
- Since:
- 2020.1.5
-
mutate
default StatementBuilder.BuildableOngoingMergeAction mutate(Named variable, Expression properties)
Creates a+=
operation. The left hand side must resolve to a container (either a node or a relationship) of properties and the right hand side must be a map of new or updated properties- Parameters:
variable
- The named thing to modifyproperties
- The new properties- Returns:
- An ongoing match and update
- Since:
- 2020.1.5
-
-