Package org.neo4j.cypherdsl.core
Interface StatementBuilder.ExposesDelete
-
- All Known Subinterfaces:
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
- Enclosing interface:
- StatementBuilder
public static interface StatementBuilder.ExposesDelete
A step that exposes only the delete clause.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StatementBuilder.OngoingUpdate
delete(java.lang.String... variables)
Renders aDELETE
clause targeting the given variables.StatementBuilder.OngoingUpdate
delete(Expression... expressions)
Creates a delete step with one or more expressions to be deleted.default StatementBuilder.OngoingUpdate
delete(Named... variables)
Renders aDELETE
clause targeting the given variables.default StatementBuilder.OngoingUpdate
detachDelete(java.lang.String... variables)
Renders aDETACH DELETE
clause targeting the given variables.StatementBuilder.OngoingUpdate
detachDelete(Expression... expressions)
Starts building a delete step that will useDETACH
to remove relationships.default StatementBuilder.OngoingUpdate
detachDelete(Named... variables)
Renders aDETACH DELETE
clause targeting the given variables.
-
-
-
Method Detail
-
delete
default StatementBuilder.OngoingUpdate delete(java.lang.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
default 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
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
-
detachDelete
default StatementBuilder.OngoingUpdate detachDelete(java.lang.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
default 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
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 a delete clause that can be build now
-
-