Search in sources :

Example 1 with BatchInserterImpl

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

the class BatchInserters method inserter.

public static BatchInserter inserter(DatabaseLayout databaseLayout, Config config, Iterable<ExtensionFactory<?>> extensions) throws IOException {
    DefaultFileSystemAbstraction fileSystem = createFileSystem();
    BatchInserterImpl inserter = new BatchInserterImpl(databaseLayout, fileSystem, config, extensions, EMPTY);
    return new FileSystemClosingBatchInserter(inserter, fileSystem);
}
Also used : BatchInserterImpl(org.neo4j.batchinsert.internal.BatchInserterImpl) DefaultFileSystemAbstraction(org.neo4j.io.fs.DefaultFileSystemAbstraction) FileSystemClosingBatchInserter(org.neo4j.batchinsert.internal.FileSystemClosingBatchInserter)

Aggregations

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