Interface StatementBuilder.OngoingMergeAction

    • Method Detail

      • set

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.BuildableOngoingMergeAction set​(java.util.Collection<Expression> expressions)
        Adds a SET 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
        Since:
        2021.2.2
      • mutate

        @NotNull
        @CheckReturnValue
        @NotNull 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 modified
        properties - The new properties
        Returns:
        An ongoing match and update
        Since:
        2020.1.5
      • mutate

        @NotNull
        @CheckReturnValue
        default @NotNull 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 modify
        properties - The new properties
        Returns:
        An ongoing match and update
        Since:
        2020.1.5