Beispiel #1
0
 @Override
 public void setNodeProperty(long node, String propertyName, Object newValue) {
   propertyCreator.setPrimitiveProperty(
       getNodeRecord(node),
       getOrCreatePropertyKeyId(propertyName),
       newValue,
       recordAccess.getPropertyRecords());
   recordAccess.commit();
 }
Beispiel #2
0
 @Override
 public void setRelationshipProperty(
     long relationship, String propertyName, Object propertyValue) {
   propertyCreator.setPrimitiveProperty(
       getRelationshipRecord(relationship),
       getOrCreatePropertyKeyId(propertyName),
       propertyValue,
       recordAccess.getPropertyRecords());
   recordAccess.commit();
 }