org.neo4j.backup.check
Class DiffStore

java.lang.Object
  extended by org.neo4j.kernel.impl.nioneo.store.StoreAccess
      extended by org.neo4j.backup.check.DiffStore
All Implemented Interfaces:
CommandRecordVisitor

public class DiffStore
extends StoreAccess
implements CommandRecordVisitor

Not thread safe (since DiffRecordStore is not thread safe), intended for single threaded use.


Constructor Summary
DiffStore(NeoStore store)
           
DiffStore(NodeStore nodeStore, RelationshipStore relStore, PropertyStore propStore, RelationshipTypeStore typeStore)
           
 
Method Summary
 RecordStore<?>[] allStores()
          Overridden to increase visibility to public, it's used from InconsistencyLoggingTransactionInterceptorProvider.
protected  void apply(RecordStore.Processor processor, RecordStore<?> store)
           
 DiffRecordStore<DynamicRecord> getArrayStore()
           
 DiffRecordStore<NodeRecord> getNodeStore()
           
 DiffRecordStore<PropertyIndexRecord> getPropertyIndexStore()
           
 DiffRecordStore<DynamicRecord> getPropertyKeyStore()
           
 DiffRecordStore<PropertyRecord> getPropertyStore()
           
 DiffRecordStore<RelationshipRecord> getRelationshipStore()
           
 DiffRecordStore<RelationshipTypeRecord> getRelationshipTypeStore()
           
 DiffRecordStore<DynamicRecord> getStringStore()
           
 DiffRecordStore<DynamicRecord> getTypeNameStore()
           
 void visitNode(NodeRecord record)
           
 void visitProperty(PropertyRecord record)
           
 void visitPropertyIndex(PropertyIndexRecord record)
           
 void visitRelationship(RelationshipRecord record)
           
 void visitRelationshipType(RelationshipTypeRecord record)
           
protected
<R extends AbstractBaseRecord>
RecordStore<R>
wrapStore(RecordStore<R> store)
           
 
Methods inherited from class org.neo4j.kernel.impl.nioneo.store.StoreAccess
applyToAll, close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffStore

public DiffStore(NeoStore store)

DiffStore

public DiffStore(NodeStore nodeStore,
                 RelationshipStore relStore,
                 PropertyStore propStore,
                 RelationshipTypeStore typeStore)
Method Detail

wrapStore

protected <R extends AbstractBaseRecord> RecordStore<R> wrapStore(RecordStore<R> store)
Overrides:
wrapStore in class StoreAccess

allStores

public RecordStore<?>[] allStores()
Overridden to increase visibility to public, it's used from InconsistencyLoggingTransactionInterceptorProvider.

Overrides:
allStores in class StoreAccess

apply

protected void apply(RecordStore.Processor processor,
                     RecordStore<?> store)
Overrides:
apply in class StoreAccess

visitNode

public void visitNode(NodeRecord record)
Specified by:
visitNode in interface CommandRecordVisitor

visitRelationship

public void visitRelationship(RelationshipRecord record)
Specified by:
visitRelationship in interface CommandRecordVisitor

visitProperty

public void visitProperty(PropertyRecord record)
Specified by:
visitProperty in interface CommandRecordVisitor

visitPropertyIndex

public void visitPropertyIndex(PropertyIndexRecord record)
Specified by:
visitPropertyIndex in interface CommandRecordVisitor

visitRelationshipType

public void visitRelationshipType(RelationshipTypeRecord record)
Specified by:
visitRelationshipType in interface CommandRecordVisitor

getNodeStore

public DiffRecordStore<NodeRecord> getNodeStore()
Overrides:
getNodeStore in class StoreAccess

getRelationshipStore

public DiffRecordStore<RelationshipRecord> getRelationshipStore()
Overrides:
getRelationshipStore in class StoreAccess

getPropertyStore

public DiffRecordStore<PropertyRecord> getPropertyStore()
Overrides:
getPropertyStore in class StoreAccess

getStringStore

public DiffRecordStore<DynamicRecord> getStringStore()
Overrides:
getStringStore in class StoreAccess

getArrayStore

public DiffRecordStore<DynamicRecord> getArrayStore()
Overrides:
getArrayStore in class StoreAccess

getRelationshipTypeStore

public DiffRecordStore<RelationshipTypeRecord> getRelationshipTypeStore()
Overrides:
getRelationshipTypeStore in class StoreAccess

getTypeNameStore

public DiffRecordStore<DynamicRecord> getTypeNameStore()
Overrides:
getTypeNameStore in class StoreAccess

getPropertyIndexStore

public DiffRecordStore<PropertyIndexRecord> getPropertyIndexStore()
Overrides:
getPropertyIndexStore in class StoreAccess

getPropertyKeyStore

public DiffRecordStore<DynamicRecord> getPropertyKeyStore()
Overrides:
getPropertyKeyStore in class StoreAccess


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.