RelationshipCounts( StoreAccess storeAccess, MutableObjectLongMap<CountsKey> counts, Predicate<RelationshipRecord> countUpdateCondition, OwningRecordCheck<RelationshipRecord,RelationshipConsistencyReport> inner ) { this.nodeStore = storeAccess.getRawNeoStores().getNodeStore(); this.counts = counts; this.countUpdateCondition = countUpdateCondition; this.inner = inner; }
PropertyReader( StoreAccess storeAccess ) { this.propertyStore = storeAccess.getRawNeoStores().getPropertyStore(); this.nodeStore = storeAccess.getRawNeoStores().getNodeStore(); }
@Override public RecordReference<NeoStoreRecord> graph() { return new DirectRecordReference<>( access.getRawNeoStores().getMetaDataStore().graphPropertyRecord(), this ); }
CountsBuilderDecorator( StoreAccess storeAccess ) { this.storeAccess = storeAccess; this.nodeStore = storeAccess.getRawNeoStores().getNodeStore(); this.nodeCountBuildCondition = new MultiPassAvoidanceCondition<>( 0 ); this.relationshipCountBuildCondition = new MultiPassAvoidanceCondition<>( 1 ); }
new SchemaStorage( fixture.directStoreAccess().nativeStores().getSchemaStore() ).indexesGetAll(); NeoStoreIndexStoreView storeView = new NeoStoreIndexStoreView( LockService.NO_LOCK_SERVICE, fixture.directStoreAccess().nativeStores().getRawNeoStores() ); while ( indexDescriptorIterator.hasNext() )
new NeoStoreIndexStoreView( LockService.NO_LOCK_SERVICE, nativeStores.getRawNeoStores() );
public DirectStoreAccess directStoreAccess() { if ( directStoreAccess == null ) { DefaultFileSystemAbstraction fileSystem = new DefaultFileSystemAbstraction(); PageCache pageCache = getPageCache( fileSystem ); StoreAccess nativeStores = new StoreAccess( fileSystem, pageCache, directory ).initialize(); Config config = new Config(); OperationalMode operationalMode = OperationalMode.single; directStoreAccess = new DirectStoreAccess( nativeStores, new LuceneLabelScanStoreBuilder( directory, nativeStores.getRawNeoStores(), fileSystem, config, operationalMode, FormattedLogProvider.toOutputStream( System.out ) ).build(), createIndexes( fileSystem, config, operationalMode ) ); } return directStoreAccess; }