Interface StatementBuilder.ExposesSetAndRemove

    • Method Detail

      • set

        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
      • remove

        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

        StatementBuilder.BuildableMatchAndUpdate remove​(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