Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Interface StatementBuilder.ExposesDelete
- All Known Subinterfaces:
ExposesSubqueryCall.BuildableSubquery
,StatementBuilder.BuildableMatchAndUpdate
,StatementBuilder.BuildableOngoingMergeAction
,StatementBuilder.ExposesUpdatingClause
,StatementBuilder.OngoingMatchAndUpdate
,StatementBuilder.OngoingMerge
,StatementBuilder.OngoingReading
,StatementBuilder.OngoingReadingAndWith
,StatementBuilder.OngoingReadingAndWithWithSkip
,StatementBuilder.OngoingReadingAndWithWithWhereAndOrder
,StatementBuilder.OngoingReadingWithoutWhere
,StatementBuilder.OngoingReadingWithWhere
,StatementBuilder.OngoingUpdate
,StatementBuilder.OrderableOngoingReadingAndWith
,StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
,StatementBuilder.OrderableOngoingReadingAndWithWithWhere
,StatementBuilder.VoidCall
- Enclosing interface:
StatementBuilder
public static interface StatementBuilder.ExposesDelete
A step that exposes only the
DELETE
clause.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull StatementBuilder.OngoingUpdate
Renders aDELETE
clause targeting the given variables.@NotNull StatementBuilder.OngoingUpdate
delete
(Collection<? extends Expression> expressions) Creates a delete step with one or more expressions to be deleted.@NotNull StatementBuilder.OngoingUpdate
delete
(Expression... expressions) Creates a delete step with one or more expressions to be deleted.default @NotNull StatementBuilder.OngoingUpdate
Renders aDELETE
clause targeting the given variables.default @NotNull StatementBuilder.OngoingUpdate
detachDelete
(String... variables) Renders aDETACH DELETE
clause targeting the given variables.@NotNull StatementBuilder.OngoingUpdate
detachDelete
(Collection<? extends Expression> expressions) Starts building a delete step that will useDETACH
to remove relationships.@NotNull StatementBuilder.OngoingUpdate
detachDelete
(Expression... expressions) Starts building a delete step that will useDETACH
to remove relationships.default @NotNull StatementBuilder.OngoingUpdate
detachDelete
(Named... variables) Renders aDETACH DELETE
clause targeting the given variables.
-
Method Details
-
delete
@NotNull @CheckReturnValue default @NotNull StatementBuilder.OngoingUpdate delete(String... variables) Renders aDELETE
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 aDELETE
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(Collection<? extends 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(String... variables) Renders aDETACH 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 aDETACH 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 useDETACH
to remove relationships.- Parameters:
expressions
- The expressions to be deleted.- Returns:
- A match with DETACH DELETE clause that can be build now
-
detachDelete
@NotNull @CheckReturnValue @NotNull StatementBuilder.OngoingUpdate detachDelete(Collection<? extends Expression> expressions) Starts building a delete step that will useDETACH
to remove relationships.- Parameters:
expressions
- The expressions to be deleted.- Returns:
- A match with DETACH DELETE clause that can be build now
- Since:
- 2021.2.2
-