public interface DeleteStatements
| Modifier and Type | Method and Description |
|---|---|
CypherQuery |
delete(Collection<Long> ids)
construct a query to delete all objects with the specified ids
|
CypherQuery |
delete(Long id)
construct a query to delete a single object with the specified id
|
CypherQuery |
delete(Long id,
Object object,
ClassInfo classInfo)
Construct a query to delete a single object with given id, check for object's version
|
CypherQuery |
delete(String type)
construct queries to delete all objects with the specified label or relationship type
|
CypherQuery |
delete(String type,
Iterable<Filter> filters)
construct queries to delete all objects with the specified label that match the specified filters
|
CypherQuery |
deleteAll()
construct a query to delete all objects
|
CypherQuery |
deleteAndList(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
|
CypherQuery delete(Long id)
id - the id of the object to findCypherQueryCypherQuery delete(Long id, Object object, ClassInfo classInfo)
id - the id of the objectobject - objectclassInfo - CypherQueryCypherQuery deleteAll()
CypherQueryCypherQuery delete(Collection<Long> ids)
ids - the ids of the objects to findCypherQueryCypherQuery delete(String type)
type - the label attached to the object, or the relationship typeCypherQueryCypherQuery delete(String type, Iterable<Filter> filters)
type - the label value or relationship type to filter onfilters - parameters to filter onCypherQueryCypherQuery deleteAndList(String type, Iterable<Filter> filters)
type - the label value or relationship type to filter onfilters - parameters to filter onCypherQueryCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.