Search in sources :

Example 1 with BatchInserterImpl

use of org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl in project neo4j by neo4j.

the class BatchInserters method inserter.

public static BatchInserter inserter(File storeDir, Map<String, String> config, Iterable<KernelExtensionFactory<?>> kernelExtensions) throws IOException {
    DefaultFileSystemAbstraction fileSystem = createFileSystem();
    BatchInserterImpl inserter = new BatchInserterImpl(storeDir, fileSystem, config, kernelExtensions);
    return new FileSystemClosingBatchInserter(inserter, inserter, fileSystem);
}
Also used : BatchInserterImpl(org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl) DefaultFileSystemAbstraction(org.neo4j.io.fs.DefaultFileSystemAbstraction) FileSystemClosingBatchInserter(org.neo4j.unsafe.batchinsert.internal.FileSystemClosingBatchInserter)

Aggregations

DefaultFileSystemAbstraction (org.neo4j.io.fs.DefaultFileSystemAbstraction)1 BatchInserterImpl (org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl)1 FileSystemClosingBatchInserter (org.neo4j.unsafe.batchinsert.internal.FileSystemClosingBatchInserter)1