use of org.neo4j.kernel.impl.store.id.DefaultIdGeneratorFactory in project neo4j by neo4j.
the class StoreFactoryTest method setUp.
@Before
public void setUp() throws IOException {
FileSystemAbstraction fs = fsRule.get();
pageCache = pageCacheRule.getPageCache(fs);
idGeneratorFactory = new DefaultIdGeneratorFactory(fs);
storeDir = directory("dir");
}
use of org.neo4j.kernel.impl.store.id.DefaultIdGeneratorFactory in project neo4j by neo4j.
the class NodeLabelsFieldTest method startUp.
@Before
public void startUp() {
File storeDir = new File("dir");
fs.get().mkdirs(storeDir);
Config config = Config.embeddedDefaults(stringMap(GraphDatabaseSettings.label_block_size.name(), "60"));
StoreFactory storeFactory = new StoreFactory(storeDir, config, new DefaultIdGeneratorFactory(fs.get()), pageCacheRule.getPageCache(fs.get()), fs.get(), NullLogProvider.getInstance());
neoStores = storeFactory.openAllNeoStores(true);
nodeStore = neoStores.getNodeStore();
}
use of org.neo4j.kernel.impl.store.id.DefaultIdGeneratorFactory in project neo4j by neo4j.
the class ApplyRecoveredTransactionsTest method before.
@Before
public void before() {
FileSystemAbstraction fs = fsr.get();
File storeDir = new File("dir");
StoreFactory storeFactory = new StoreFactory(storeDir, Config.empty(), new DefaultIdGeneratorFactory(fs), pageCacheRule.getPageCache(fs), fs, NullLogProvider.getInstance());
neoStores = storeFactory.openAllNeoStores(true);
}
use of org.neo4j.kernel.impl.store.id.DefaultIdGeneratorFactory in project neo4j by neo4j.
the class NodeCommandTest method before.
@Before
public void before() throws Exception {
File dir = new File("dir");
fs.get().mkdirs(dir);
@SuppressWarnings("deprecation") StoreFactory storeFactory = new StoreFactory(dir, Config.empty(), new DefaultIdGeneratorFactory(fs.get()), pageCacheRule.getPageCache(fs.get()), fs.get(), NullLogProvider.getInstance());
neoStores = storeFactory.openAllNeoStores(true);
nodeStore = neoStores.getNodeStore();
}
Aggregations