Interface StatementBuilder.ExposesSetAndRemove

    • Method Detail

      • set

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.BuildableMatchAndUpdate set​(Node node,
                                                              java.lang.String... labels)
        Creates SET clause for setting the given labels to a node.
        Parameters:
        node - The node who's labels are to be changed
        labels - The labels to be set
        Returns:
        A match with a SET clause that can be build now
      • set

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.BuildableMatchAndUpdate set​(Node node,
                                                              java.util.Collection<java.lang.String> labels)
        Creates SET clause for setting the given labels to a node.
        Parameters:
        node - The node who's labels are to be changed
        labels - The labels to be set
        Returns:
        A match with a SET clause that can be build now
        Since:
        2021.2.2
      • remove

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.BuildableMatchAndUpdate remove​(Node node,
                                                                 java.lang.String... labels)
        Creates SET clause for removing the given labels from a node.
        Parameters:
        node - The node who's labels are to be changed
        labels - The labels to be removed
        Returns:
        A match with a REMOVE clause that can be build now
      • remove

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.BuildableMatchAndUpdate remove​(Node node,
                                                                 java.util.Collection<java.lang.String> labels)
        Creates SET clause for removing the given labels from a node.
        Parameters:
        node - The node who's labels are to be changed
        labels - The labels to be removed
        Returns:
        A match with a REMOVE clause that can be build now
        Since:
        2021.2.2
      • remove

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.BuildableMatchAndUpdate remove​(java.util.Collection<Property> properties)
        Creates SET clause for removing the enumerated properties
        Parameters:
        properties - The properties to be removed
        Returns:
        A match with a REMOVE clause that can be build now
        Since:
        2021.2.2