|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.kernel.AbstractGraphDatabase
org.neo4j.kernel.InternalAbstractGraphDatabase
org.neo4j.kernel.EmbeddedGraphDatabase
public class EmbeddedGraphDatabase
An implementation of GraphDatabaseService that is used to embed Neo4j
in an application. You typically instantiate it by invoking the
single argument constructor that takes
a path to a directory where Neo4j will store its data files, as such:
GraphDatabaseService graphDb = new EmbeddedGraphDatabase( "var/graphdb" );
// ... use Neo4j
graphDb.shutdown();
For more information, see GraphDatabaseService.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.neo4j.kernel.InternalAbstractGraphDatabase |
|---|
InternalAbstractGraphDatabase.Configuration, InternalAbstractGraphDatabase.DefaultKernelData |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
EmbeddedGraphDatabase(String storeDir)
Deprecated. |
|
EmbeddedGraphDatabase(String storeDir,
Map<String,String> params)
Deprecated. |
|
EmbeddedGraphDatabase(String storeDir,
Map<String,String> params,
Iterable<IndexProvider> indexProviders,
Iterable<KernelExtensionFactory<?>> kernelExtensions,
Iterable<org.neo4j.kernel.impl.cache.CacheProvider> cacheProviders,
Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> txInterceptorProviders)
Internal constructor used by GraphDatabaseFactory |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public EmbeddedGraphDatabase(String storeDir)
GraphDatabaseService with a store located in
storeDir, which will be created if it doesn't already exist.
This is deprecated. Use GraphDatabaseFactory instead.
storeDir - the store directory for the Neo4j store files
@Deprecated
public EmbeddedGraphDatabase(String storeDir,
Map<String,String> params)
GraphDatabaseService
with a set of configuration parameters.
Creates an embedded GraphDatabaseService with a store located in
storeDir, which will be created if it doesn't already exist.
This is deprecated. Use GraphDatabaseFactory instead.
storeDir - the store directory for the db filesparams - configuration parameters
public EmbeddedGraphDatabase(String storeDir,
Map<String,String> params,
Iterable<IndexProvider> indexProviders,
Iterable<KernelExtensionFactory<?>> kernelExtensions,
Iterable<org.neo4j.kernel.impl.cache.CacheProvider> cacheProviders,
Iterable<org.neo4j.kernel.impl.transaction.xaframework.TransactionInterceptorProvider> txInterceptorProviders)
GraphDatabaseFactory
storeDir - params - indexProviders - kernelExtensions - cacheProviders - txInterceptorProviders -
|
Neo4j Enterprise | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||