Esempio n. 1
0
 @Override
 public void graphDoRemoveProperty(Property removedProperty) {
   if (!removedProperty.isNoProperty()) {
     graphPropertyDiffSets().remove((SafeProperty) removedProperty);
     legacyState.graphRemoveProperty(removedProperty);
     hasChanges = true;
   }
 }
Esempio n. 2
0
 @Override
 public void relationshipDoRemoveProperty(long relationshipId, Property removedProperty) {
   if (!removedProperty.isNoProperty()) {
     relationshipPropertyDiffSets(relationshipId).remove((SafeProperty) removedProperty);
     legacyState.relationshipRemoveProperty(relationshipId, removedProperty);
     hasChanges = true;
   }
 }
Esempio n. 3
0
 @Override
 public void nodeDoRemoveProperty(long nodeId, Property removedProperty) {
   if (!removedProperty.isNoProperty()) {
     nodePropertyDiffSets(nodeId).remove((SafeProperty) removedProperty);
     legacyState.nodeRemoveProperty(nodeId, removedProperty);
     hasChanges = true;
   }
 }
Esempio n. 4
0
 @Override
 public void graphDoReplaceProperty(Property replacedProperty, SafeProperty newProperty) {
   if (!newProperty.isNoProperty()) {
     DiffSets<SafeProperty> diffSets = graphPropertyDiffSets();
     if (!replacedProperty.isNoProperty()) {
       diffSets.remove((SafeProperty) replacedProperty);
     }
     diffSets.add(newProperty);
     legacyState.graphSetProperty(newProperty.asPropertyDataJustForIntegration());
     hasChanges = true;
   }
 }
Esempio n. 5
0
 @Override
 public void nodeDoReplaceProperty(
     long nodeId, Property replacedProperty, SafeProperty newProperty) {
   if (!newProperty.isNoProperty()) {
     DiffSets<SafeProperty> diffSets = nodePropertyDiffSets(nodeId);
     if (!replacedProperty.isNoProperty()) {
       diffSets.remove((SafeProperty) replacedProperty);
     }
     diffSets.add(newProperty);
     legacyState.nodeSetProperty(nodeId, newProperty.asPropertyDataJustForIntegration());
     hasChanges = true;
   }
 }