public interface DiffRecordAccess extends RecordAccess
RecordAccess for use with incremental checking. Provides access to
Node, Relationship, and Property are the only record types one might need a previous version of when checking
another type of record.
Getting the new version of a record is an operation that can always be performed without any I/O, therefore these
return the records immediately, instead of returning RecordReference objects. New versions of records can be
retrieved for changedNode(long) Node}, changedRelationship(long) (long) Relationship}, changedProperty(long) (long) Property}, String property blocks, and Array property blocks, these are the only types of records for which there is a need to get the
new version while checking another type of record. The methods returning new versions of records return
null if the record has not been changed.
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.kernel.impl.store.record.DynamicRecord |
changedArray(long id) |
org.neo4j.kernel.impl.store.record.NodeRecord |
changedNode(long id) |
org.neo4j.kernel.impl.store.record.PropertyRecord |
changedProperty(long id) |
org.neo4j.kernel.impl.store.record.RelationshipRecord |
changedRelationship(long id) |
org.neo4j.kernel.impl.store.record.RelationshipGroupRecord |
changedRelationshipGroup(long id) |
org.neo4j.kernel.impl.store.record.DynamicRecord |
changedSchema(long id) |
org.neo4j.kernel.impl.store.record.DynamicRecord |
changedString(long id) |
RecordReference<org.neo4j.kernel.impl.store.record.NeoStoreRecord> |
previousGraph() |
RecordReference<org.neo4j.kernel.impl.store.record.NodeRecord> |
previousNode(long id) |
RecordReference<org.neo4j.kernel.impl.store.record.PropertyRecord> |
previousProperty(long id) |
RecordReference<org.neo4j.kernel.impl.store.record.RelationshipRecord> |
previousRelationship(long id) |
array, graph, label, labelName, node, nodeLabels, property, propertyKey, propertyKeyName, relationship, relationshipGroup, relationshipType, relationshipTypeName, schema, stringRecordReference<org.neo4j.kernel.impl.store.record.NodeRecord> previousNode(long id)
RecordReference<org.neo4j.kernel.impl.store.record.RelationshipRecord> previousRelationship(long id)
RecordReference<org.neo4j.kernel.impl.store.record.PropertyRecord> previousProperty(long id)
RecordReference<org.neo4j.kernel.impl.store.record.NeoStoreRecord> previousGraph()
org.neo4j.kernel.impl.store.record.DynamicRecord changedSchema(long id)
org.neo4j.kernel.impl.store.record.NodeRecord changedNode(long id)
org.neo4j.kernel.impl.store.record.RelationshipRecord changedRelationship(long id)
org.neo4j.kernel.impl.store.record.PropertyRecord changedProperty(long id)
org.neo4j.kernel.impl.store.record.DynamicRecord changedString(long id)
org.neo4j.kernel.impl.store.record.DynamicRecord changedArray(long id)
org.neo4j.kernel.impl.store.record.RelationshipGroupRecord changedRelationshipGroup(long id)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.