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(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 |
deleteAllAndCount()
construct a query to delete all objects and return a count of deleted objects
|
CypherQuery |
deleteAllAndList()
construct a query to delete all objects and return a list of deleted object ids
|
CypherQuery |
deleteAndCount(String type)
construct queries to delete all objects with the specified label or relationship type and return a count of deleted objects
|
CypherQuery |
deleteAndCount(String type,
Iterable<Filter> filters)
construct queries to delete all objects with the specified label that match the specified filters and return a count of deleted objects
|
CypherQuery |
deleteAndList(String type)
construct queries to delete all objects with the specified label or relationship type and return a list of deleted object ids
|
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 deleteAll()
CypherQueryCypherQuery deleteAllAndCount()
CypherQueryCypherQuery deleteAllAndList()
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 deleteAndCount(String type)
type - the label attached to the object, or the relationship typeCypherQueryCypherQuery deleteAndList(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 deleteAndCount(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 © 2016 Neo Technology, Inc.. All rights reserved.