public class DeleteDelegate extends Object
Constructor and Description |
---|
DeleteDelegate(Neo4jSession session) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
<T> Object |
delete(Class<T> clazz,
Iterable<Filter> filters,
boolean listResults) |
<T> void |
delete(T object) |
<T> void |
deleteAll(Class<T> type)
Deletes all nodes of a given type.
|
void |
purgeDatabase() |
public DeleteDelegate(Neo4jSession session)
public <T> void delete(T object)
public <T> void deleteAll(Class<T> type)
T
- The type to work withtype
- The type of the nodes/objects to be deleted.public void purgeDatabase()
public void clear()
Copyright © 2015–2023 Neo Technology, Inc.. All rights reserved.