Interface StatementBuilder.ExposesDelete

    • Method Detail

      • delete

        @NotNull
        @CheckReturnValue
        default @NotNull StatementBuilder.OngoingUpdate delete​(java.lang.String... variables)
        Renders a DELETE clause targeting the given variables. NO checks are done whether they have been matched previously.
        Parameters:
        variables - Variables indicating the things to delete.
        Returns:
        A match with a delete clause that can be build now
      • delete

        @NotNull
        @CheckReturnValue
        default @NotNull StatementBuilder.OngoingUpdate delete​(Named... variables)
        Renders a DELETE clause targeting the given variables. NO checks are done whether they have been matched previously.
        Parameters:
        variables - Variables indicating the things to delete.
        Returns:
        A match with a delete clause that can be build now
      • delete

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.OngoingUpdate delete​(Expression... expressions)
        Creates a delete step with one or more expressions to be deleted.
        Parameters:
        expressions - The expressions to be deleted.
        Returns:
        A match with a delete clause that can be build now
      • delete

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.OngoingUpdate delete​(java.util.Collection<Expression> expressions)
        Creates a delete step with one or more expressions to be deleted.
        Parameters:
        expressions - The expressions to be deleted.
        Returns:
        A match with a delete clause that can be build now
        Since:
        2021.2.2
      • detachDelete

        @NotNull
        @CheckReturnValue
        default @NotNull StatementBuilder.OngoingUpdate detachDelete​(java.lang.String... variables)
        Renders a DETACH DELETE clause targeting the given variables. NO checks are done whether they have been matched previously.
        Parameters:
        variables - Variables indicating the things to delete.
        Returns:
        A match with a detach delete clause that can be build now
      • detachDelete

        @NotNull
        @CheckReturnValue
        default @NotNull StatementBuilder.OngoingUpdate detachDelete​(Named... variables)
        Renders a DETACH DELETE clause targeting the given variables. NO checks are done whether they have been matched previously.
        Parameters:
        variables - Variables indicating the things to delete.
        Returns:
        A match with a detach delete clause that can be build now
      • detachDelete

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.OngoingUpdate detachDelete​(Expression... expressions)
        Starts building a delete step that will use DETACH to remove relationships.
        Parameters:
        expressions - The expressions to be deleted.
        Returns:
        A match with a delete clause that can be build now
      • detachDelete

        @NotNull
        @CheckReturnValue
        @NotNull StatementBuilder.OngoingUpdate detachDelete​(java.util.Collection<Expression> expressions)
        Starts building a delete step that will use DETACH to remove relationships.
        Parameters:
        expressions - The expressions to be deleted.
        Returns:
        A match with a delete clause that can be build now
        Since:
        2021.2.2