Interface DeleteStatements
- All Known Implementing Classes:
NodeDeleteStatements
,RelationshipDeleteStatements
public interface DeleteStatements
- Author:
- Vince Bickers, Luanne Misquitta
-
Method Summary
Modifier and TypeMethodDescriptionconstruct a query to delete a single object with the specified idConstruct a query to delete a single object with given id, check for object's versionconstruct queries to delete all objects with the specified label or relationship typeconstruct queries to delete all objects with the specified label that match the specified filtersdelete
(Collection<Long> ids) construct a query to delete all objects with the specified idsconstruct a query to delete all objectsdeleteAndList
(String type, Iterable<Filter> filters) construct queries to delete all objects with the specified label that match the specified filters and return a list of deleted object ids
-
Method Details
-
delete
construct a query to delete a single object with the specified id- Parameters:
id
- the id of the object to find- Returns:
- a
CypherQuery
-
delete
Construct a query to delete a single object with given id, check for object's version- Parameters:
id
- the id of the objectobject
- objectclassInfo
-- Returns:
- a
CypherQuery
-
deleteAll
CypherQuery deleteAll()construct a query to delete all objects- Returns:
- a
CypherQuery
-
delete
construct a query to delete all objects with the specified ids- Parameters:
ids
- the ids of the objects to find- Returns:
- a
CypherQuery
-
delete
construct queries to delete all objects with the specified label or relationship type- Parameters:
type
- the label attached to the object, or the relationship type- Returns:
- a
CypherQuery
-
delete
construct queries to delete all objects with the specified label that match the specified filters- Parameters:
type
- the label value or relationship type to filter onfilters
- parameters to filter on- Returns:
- a
CypherQuery
-
deleteAndList
construct queries to delete all objects with the specified label that match the specified filters and return a list of deleted object ids- Parameters:
type
- the label value or relationship type to filter onfilters
- parameters to filter on- Returns:
- a
CypherQuery
-