Beispiel #1
0
  ArrayMap<Integer, PropertyData> deleteRelationship(RelationshipImpl rel, TransactionState tx) {
    deleteFromTrackers(rel, relationshipPropertyTrackers);

    tx.deletePrimitive(rel);
    return persistenceManager.relDelete(rel.getId());
    // remove in rel cache done via event
  }
Beispiel #2
0
  ArrayMap<Integer, PropertyData> deleteNode(NodeImpl node, TransactionState tx) {
    deleteFromTrackers(node, nodePropertyTrackers);

    tx.deletePrimitive(node);
    return persistenceManager.nodeDelete(node.getId());
    // remove from node cache done via event
  }