Package org.neo4j.ogm.session.delegates
Class DeleteDelegate
java.lang.Object
org.neo4j.ogm.session.delegates.DeleteDelegate
- Author:
- Vince Bickers, Michael J. Simons
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DeleteDelegate
-
-
Method Details
-
delete
public <T> void delete(T object) -
deleteAll
Deletes all nodes of a given type. They will get discovered by using the matching label for that type. To avoid a delete of every node in the database the method will abort the delete operation if no label can be determined.- Type Parameters:
T
- The type to work with- Parameters:
type
- The type of the nodes/objects to be deleted.
-
delete
-
purgeDatabase
public void purgeDatabase() -
clear
public void clear()
-