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 StatementBuilder.OngoingUpdateRenders aDELETEclause targeting the given variables.delete(Collection<? extends Expression> expressions) Creates a delete step with one or more expressions to be deleted.delete(Expression... expressions) Creates a delete step with one or more expressions to be deleted.default StatementBuilder.OngoingUpdateRenders aDELETEclause targeting the given variables.default StatementBuilder.OngoingUpdatedetachDelete(String... variables) Renders aDETACH DELETEclause targeting the given variables.detachDelete(Collection<? extends Expression> expressions) Starts building a delete step that will useDETACHto remove relationships.detachDelete(Expression... expressions) Starts building a delete step that will useDETACHto remove relationships.default StatementBuilder.OngoingUpdatedetachDelete(Named... variables) Renders aDETACH DELETEclause targeting the given variables.
-
Method Details
-
delete
Renders aDELETEclause 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
Renders aDELETEclause 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
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
@CheckReturnValue 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
Renders aDETACH DELETEclause 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
Renders aDETACH DELETEclause 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
Starts building a delete step that will useDETACHto remove relationships.- Parameters:
expressions- the expressions to be deleted.- Returns:
- a match with DETACH DELETE clause that can be build now
-
detachDelete
@CheckReturnValue StatementBuilder.OngoingUpdate detachDelete(Collection<? extends Expression> expressions) Starts building a delete step that will useDETACHto 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
-