Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Interface StatementBuilder.OngoingMergeAction
- All Superinterfaces:
StatementBuilder.ExposesSetLabel<StatementBuilder.BuildableOngoingMergeAction>
- Enclosing interface:
- StatementBuilder
public static interface StatementBuilder.OngoingMergeAction
extends StatementBuilder.ExposesSetLabel<StatementBuilder.BuildableOngoingMergeAction>
A variant of
StatementBuilder.ExposesSet that allows for further chaining of actions.- Since:
- 2020.1.2
-
Method Summary
Modifier and TypeMethodDescriptionmutate(Expression target, Expression properties) Creates a+=operation.mutate(Named variable, Expression properties) Creates a+=operation.set(Collection<? extends Expression> expressions) Adds aSETclause to the statement.set(Expression... expressions) Adds aSETclause to the statement.set(Named variable, Expression expression) Adds aSETclause to the statement, modifying the given named thing with an expression.Methods inherited from interface org.neo4j.cypherdsl.core.StatementBuilder.ExposesSetLabel
set, set, set
-
Method Details
-
set
Adds aSETclause 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
@CheckReturnValue StatementBuilder.BuildableOngoingMergeAction set(Collection<? extends Expression> expressions) Adds aSETclause 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
- Since:
- 2021.2.2
-
set
@CheckReturnValue default StatementBuilder.BuildableOngoingMergeAction set(Named variable, Expression expression) Adds aSETclause 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
@CheckReturnValue 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
@CheckReturnValue 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
-