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(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
|
public CypherQuery delete(Long id)
DeleteStatementsdelete in interface DeleteStatementsid - the id of the object to findCypherQuerypublic CypherQuery delete(Collection<Long> ids)
DeleteStatementsdelete in interface DeleteStatementsids - the ids of the objects to findCypherQuerypublic CypherQuery deleteAll()
DeleteStatementsdeleteAll in interface DeleteStatementsCypherQuerypublic CypherQuery deleteAllAndCount()
DeleteStatementsdeleteAllAndCount in interface DeleteStatementsCypherQuerypublic CypherQuery deleteAllAndList()
DeleteStatementsdeleteAllAndList in interface DeleteStatementsCypherQuerypublic CypherQuery delete(String type)
DeleteStatementsdelete in interface DeleteStatementstype - the label attached to the object, or the relationship typeCypherQuerypublic CypherQuery deleteAndCount(String type)
DeleteStatementsdeleteAndCount in interface DeleteStatementstype - the label attached to the object, or the relationship typeCypherQuerypublic CypherQuery deleteAndList(String type)
DeleteStatementsdeleteAndList 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 deleteAndCount(String type, Iterable<Filter> filters)
DeleteStatementsdeleteAndCount 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 © 2016 Neo Technology, Inc.. All rights reserved.