java.lang.Object
org.neo4j.cypherdsl.core.Operations
@API(status=DEPRECATED,
since="2023.9.0")
@Deprecated(since="2023.9.0")
public final class Operations
extends Object
Deprecated.
A set of operations.
- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionstatic Operation
minus
(Expression e) Deprecated.Creates a unary minus operation.static Operation
mutate
(Expression target, Expression value) Deprecated.Creates a+=
operation.static Operation
mutate
(Expression target, MapExpression value) Deprecated.Creates a+=
operation.static Expression
plus
(Expression e) Deprecated.Creates an unary plus operation.static Operation
Deprecated.useCypher.removeLabel(Node, String...)
instead.static Operation
set
(Expression target, Expression value) Deprecated.Creates a=
operation.static Operation
Deprecated.useCypher.setLabel(Node, String...)
instead.
-
Method Details
-
minus
Deprecated.Creates a unary minus operation.- Parameters:
e
- The expression to which the unary minus should be applied. We don't check if it's a numeric expression, but in hindsight to generate semantically correct Cypher, it's recommended that is one.- Returns:
- An unary minus operation.
- Since:
- 2021.2.3
-
plus
Deprecated.Creates an unary plus operation.- Parameters:
e
- The expression to which the unary plus should be applied. We don't check if it's a numeric expression, but in hindsight to generate semantically correct Cypher, it's recommended that is one.- Returns:
- An unary plus operation.
- Since:
- 2021.2.3
-
set
Deprecated.Creates a=
operation. The left hand side should resolve to a property or to something which has labels or types to modify and the right hand side should either be new properties or labels.- Parameters:
target
- The target that should be modifiedvalue
- The new value of the target- Returns:
- A new operation.
- Since:
- 2021.2.3
-
mutate
Deprecated.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 modifiedvalue
- The new properties- Returns:
- A new operation.
- Since:
- 2020.1.5
-
mutate
Deprecated.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 modifiedvalue
- The new properties- Returns:
- A new operation.
- Since:
- 2020.1.5
-
set
Deprecated.useCypher.setLabel(Node, String...)
instead.Creates an operation adding one or more labels from a givennode
.- Parameters:
target
- The target of the new labelslabel
- The labels to be added- Returns:
- A set operation
- Since:
- 2021.2.3
-
remove
Deprecated.useCypher.removeLabel(Node, String...)
instead.Creates an operation removing one or more labels from a givennode
.- Parameters:
target
- The target of the remove operationlabel
- The labels to be removed- Returns:
- A remove operation
- Since:
- 2021.2.3
-
Cypher
instead. This class will become package private in the next major release and no longer be accessible.