|
Neo4j Community | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.unsafe.batchinsert.BatchInserters
public final class BatchInserters
Provides instances of batch inserters.
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 Summary | |
---|---|
BatchInserters()
|
Method Summary | |
---|---|
static GraphDatabaseService |
batchDatabase(String storeDir)
Get a GraphDatabaseService that does not support deletions and
transactions. |
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,
Map<String,String> config)
Get a BatchInserter given a store directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchInserters()
Method Detail |
---|
public static BatchInserter inserter(String storeDir)
BatchInserter
given a store directory.
storeDir
- the store directory
BatchInserter
public static BatchInserter inserter(String storeDir, Map<String,String> config)
BatchInserter
given a store directory.
storeDir
- the store directoryconfig
- configuration settings to use
BatchInserter
public static GraphDatabaseService batchDatabase(String storeDir)
GraphDatabaseService
that does not support deletions and
transactions.
storeDir
- the store directory
GraphDatabaseService
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 use
GraphDatabaseService
that does not support deletions
and transactions
|
Neo4j Community | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |