public class EmbeddedGraphDatabase extends InternalAbstractGraphDatabase
GraphDatabaseService that is used to embed Neo4j
in an application. You typically instantiate it by using
GraphDatabaseFactory like so:
GraphDatabaseService graphDb = new GraphDatabaseFactory().newEmbeddedDatabase( "var/graphdb" );
// ... use Neo4j
graphDb.shutdown();
For more information, see GraphDatabaseService.InternalAbstractGraphDatabase.Configuration| Constructor and Description |
|---|
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 |
beginTx, createNode, createNode, equals, findNodesByLabelAndProperty, getAllNodes, getConfig, getDependencyResolver, getDiagnosticsManager, getGuard, getIdGeneratorFactory, getKernelData, getKernelPanicGenerator, getLockManager, getMessageLog, getNodeById, getNodeManager, getPersistenceSource, getReferenceNode, getRelationshipById, getRelationshipTypes, getRelationshipTypeTokenHolder, getStoreDir, getStoreId, getTxIdGenerator, getTxManager, getXaDataSourceManager, hashCode, index, registerKernelEventHandler, registerTransactionEventHandler, schema, shutdown, toString, transactionRunning, tx, unregisterKernelEventHandler, unregisterTransactionEventHandler@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 parameterspublic 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)
GraphDatabaseFactoryCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.