public final class BatchInserters extends Object
A BatchInserter retrieved from the inserter(String) or
inserter(String, Map) methods is more performant while the
GraphDatabaseService retrievied from batchDatabase(String)
or batchDatabase(String, Map) methods is there for convenience, so
you can reuse existing code.
| Constructor and Description |
|---|
BatchInserters() |
| Modifier and Type | Method and Description |
|---|---|
static GraphDatabaseService |
batchDatabase(String storeDir)
Get a
GraphDatabaseService that does not support deletions and
transactions. |
static GraphDatabaseService |
batchDatabase(String storeDir,
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem)
Get a
GraphDatabaseService that does not support deletions and
transactions. |
static GraphDatabaseService |
batchDatabase(String storeDir,
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem,
Map<String,String> config)
Get a
GraphDatabaseService that does not support deletions and
transactions. |
static GraphDatabaseService |
batchDatabase(String storeDir,
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem,
Map<String,String> config,
Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> kernelExtensions) |
static GraphDatabaseService |
batchDatabase(String storeDir,
Map<String,String> config)
Get a
GraphDatabaseService that does not support deletions and
transactions. |
static BatchInserter |
inserter(String storeDir)
Get a
BatchInserter given a store directory. |
static BatchInserter |
inserter(String storeDir,
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem)
Get a
BatchInserter given a store directory. |
static BatchInserter |
inserter(String storeDir,
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem,
Map<String,String> config)
Get a
BatchInserter given a store directory. |
static BatchInserter |
inserter(String storeDir,
org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem,
Map<String,String> config,
Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> kernelExtensions) |
static BatchInserter |
inserter(String storeDir,
Map<String,String> config)
Get a
BatchInserter given a store directory. |
public static BatchInserter inserter(String storeDir)
BatchInserter given a store directory.storeDir - the store directoryBatchInserterpublic static BatchInserter inserter(String storeDir, Map<String,String> config)
BatchInserter given a store directory.storeDir - the store directoryconfig - configuration settings to useBatchInserterpublic static BatchInserter inserter(String storeDir, org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem)
BatchInserter given a store directory.storeDir - the store directoryBatchInserterpublic static BatchInserter inserter(String storeDir, org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem, Map<String,String> config)
BatchInserter given a store directory.storeDir - the store directoryconfig - configuration settings to useBatchInserterpublic static BatchInserter inserter(String storeDir, org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem, Map<String,String> config, Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> kernelExtensions)
public static GraphDatabaseService batchDatabase(String storeDir)
GraphDatabaseService that does not support deletions and
transactions.storeDir - the store directoryGraphDatabaseService that does not support deletions
and transactionspublic static GraphDatabaseService batchDatabase(String storeDir, Map<String,String> config)
GraphDatabaseService that does not support deletions and
transactions.storeDir - the store directoryconfig - configuration settings to useGraphDatabaseService that does not support deletions
and transactionspublic static GraphDatabaseService batchDatabase(String storeDir, org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem)
GraphDatabaseService that does not support deletions and
transactions.storeDir - the store directoryGraphDatabaseService that does not support deletions
and transactionspublic static GraphDatabaseService batchDatabase(String storeDir, org.neo4j.kernel.impl.nioneo.store.FileSystemAbstraction fileSystem, Map<String,String> config)
GraphDatabaseService that does not support deletions and
transactions.storeDir - the store directoryconfig - configuration settings to useGraphDatabaseService that does not support deletions
and transactionsCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.