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,
URLAccessRule rule) |
Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> |
getKernelExtension()
Deprecated.
Manipulating kernel extensions is deprecated and will be moved to internal components.
|
GraphDatabaseService |
newEmbeddedDatabase(File storeDir) |
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 GraphDatabaseService newEmbeddedDatabase(String storeDir)
newEmbeddedDatabase(File)
instead.storeDir
- the location of the databasepublic 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, URLAccessRule rule)
public GraphDatabaseFactory setUserLogProvider(org.neo4j.logging.LogProvider userLogProvider)
public GraphDatabaseFactory setMonitors(org.neo4j.kernel.monitoring.Monitors monitors)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.