public class GraphDatabaseFactory extends Object
GraphDatabaseService.
Use newEmbeddedDatabase(File) or
newEmbeddedDatabaseBuilder(File) to create a database instance.
| Constructor and Description |
|---|
GraphDatabaseFactory() |
| Modifier and Type | Method and Description |
|---|---|
GraphDatabaseFactory |
addKernelExtension(org.neo4j.kernel.extension.KernelExtensionFactory<?> newKernelExtension)
Deprecated.
Manipulating kernel extensions is deprecated and will be moved to internal components.
|
GraphDatabaseFactory |
addKernelExtensions(Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> newKernelExtensions)
Deprecated.
Manipulating kernel extensions is deprecated and will be moved to internal components.
|
GraphDatabaseFactory |
addURLAccessRule(String protocol,
org.neo4j.graphdb.security.URLAccessRule rule) |
String |
getEdition() |
Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> |
getKernelExtension()
Deprecated.
Manipulating kernel extensions is deprecated and will be moved to internal components.
|
org.neo4j.graphdb.GraphDatabaseService |
newEmbeddedDatabase(File storeDir) |
org.neo4j.graphdb.GraphDatabaseService |
newEmbeddedDatabase(String storeDir)
Deprecated.
use
newEmbeddedDatabase(File) instead. |
GraphDatabaseBuilder |
newEmbeddedDatabaseBuilder(File storeDir) |
GraphDatabaseBuilder |
newEmbeddedDatabaseBuilder(String storeDir)
Deprecated.
use
newEmbeddedDatabaseBuilder(File) instead |
GraphDatabaseFactory |
setKernelExtensions(Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> newKernelExtensions)
Deprecated.
Manipulating kernel extensions is deprecated and will be moved to internal components.
|
GraphDatabaseFactory |
setMonitors(org.neo4j.kernel.monitoring.Monitors monitors) |
GraphDatabaseFactory |
setUserLogProvider(org.neo4j.logging.LogProvider userLogProvider) |
@Deprecated public org.neo4j.graphdb.GraphDatabaseService newEmbeddedDatabase(String storeDir)
newEmbeddedDatabase(File) instead.storeDir - the location of the databasepublic org.neo4j.graphdb.GraphDatabaseService newEmbeddedDatabase(File storeDir)
@Deprecated public GraphDatabaseBuilder newEmbeddedDatabaseBuilder(String storeDir)
newEmbeddedDatabaseBuilder(File) insteadstoreDir - the location of the databasepublic GraphDatabaseBuilder newEmbeddedDatabaseBuilder(File storeDir)
@Deprecated public Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> getKernelExtension()
@Deprecated public GraphDatabaseFactory addKernelExtensions(Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> newKernelExtensions)
newKernelExtensions - New kernel extensions to add@Deprecated public GraphDatabaseFactory addKernelExtension(org.neo4j.kernel.extension.KernelExtensionFactory<?> newKernelExtension)
newKernelExtension - New kernel extension too add@Deprecated public GraphDatabaseFactory setKernelExtensions(Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> newKernelExtensions)
newKernelExtensions - New kernel extensions to setpublic GraphDatabaseFactory addURLAccessRule(String protocol, org.neo4j.graphdb.security.URLAccessRule rule)
public GraphDatabaseFactory setUserLogProvider(org.neo4j.logging.LogProvider userLogProvider)
public GraphDatabaseFactory setMonitors(org.neo4j.kernel.monitoring.Monitors monitors)
public String getEdition()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.