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