use of org.neo4j.values.storable.ValueTuple in project neo4j by neo4j.
the class TxState method indexDoUpdateEntry.
@Override
public void indexDoUpdateEntry(SchemaDescriptor descriptor, long entityIdId, ValueTuple propertiesBefore, ValueTuple propertiesAfter) {
Map<ValueTuple, MutableLongDiffSets> updates = getOrCreateIndexUpdatesByDescriptor(descriptor);
if (propertiesBefore != null) {
MutableLongDiffSets before = getOrCreateIndexUpdatesForSeek(updates, propertiesBefore);
before.remove(entityIdId);
}
if (propertiesAfter != null) {
MutableLongDiffSets after = getOrCreateIndexUpdatesForSeek(updates, propertiesAfter);
after.add(entityIdId);
}
}
Aggregations