public class RelationshipDeleteStatements extends Object implements DeleteStatements
| Constructor and Description |
|---|
RelationshipDeleteStatements() |
| 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
|
public CypherQuery delete(Long id)
DeleteStatementsdelete in interface DeleteStatementsid - the id of the object to findCypherQuerypublic CypherQuery delete(Long id, Object object, ClassInfo classInfo)
DeleteStatementsdelete in interface DeleteStatementsid - the id of the objectobject - objectCypherQuerypublic CypherQuery delete(Collection<Long> ids)
DeleteStatementsdelete in interface DeleteStatementsids - the ids of the objects to findCypherQuerypublic CypherQuery deleteAll()
DeleteStatementsdeleteAll in interface DeleteStatementsCypherQuerypublic CypherQuery delete(String type)
DeleteStatementsdelete in interface DeleteStatementstype - the label attached to the object, or the relationship typeCypherQuerypublic CypherQuery delete(String type, Iterable<Filter> filters)
DeleteStatementsdelete in interface DeleteStatementstype - the label value or relationship type to filter onfilters - parameters to filter onCypherQuerypublic CypherQuery deleteAndList(String type, Iterable<Filter> filters)
DeleteStatementsdeleteAndList in interface DeleteStatementstype - the label value or relationship type to filter onfilters - parameters to filter onCypherQueryCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.