public static class GraphDatabaseBuilder.Delegator extends GraphDatabaseBuilder
GraphDatabaseBuilder.DatabaseCreator, GraphDatabaseBuilder.Delegator| Constructor and Description |
|---|
Delegator(GraphDatabaseBuilder actual) |
| Modifier and Type | Method and Description |
|---|---|
GraphDatabaseBuilder |
loadPropertiesFromFile(String fileName)
Load a Properties file from a given file, and add the settings to
the builder.
|
GraphDatabaseBuilder |
loadPropertiesFromURL(URL url)
Load Properties file from a given URL, and add the settings to
the builder.
|
org.neo4j.graphdb.GraphDatabaseService |
newGraphDatabase()
Create a new database with the configuration registered
through the builder.
|
GraphDatabaseBuilder |
setConfig(Map<String,String> config)
Set a map of configuration settings into the builder.
|
GraphDatabaseBuilder |
setConfig(org.neo4j.graphdb.config.Setting<?> setting,
String value)
Set a database setting to a particular value.
|
GraphDatabaseBuilder |
setConfig(String name,
String value)
Set an unvalidated configuration option.
|
public Delegator(GraphDatabaseBuilder actual)
public GraphDatabaseBuilder setConfig(org.neo4j.graphdb.config.Setting<?> setting, String value)
GraphDatabaseBuildersetConfig in class GraphDatabaseBuildersetting - Database setting to setvalue - New value of the settingpublic GraphDatabaseBuilder setConfig(String name, String value)
GraphDatabaseBuildersetConfig in class GraphDatabaseBuildername - Name of the settingvalue - New value of the settingpublic GraphDatabaseBuilder setConfig(Map<String,String> config)
GraphDatabaseBuildersetConfig in class GraphDatabaseBuilderconfig - Map of configuration settingspublic GraphDatabaseBuilder loadPropertiesFromFile(String fileName) throws IllegalArgumentException
GraphDatabaseBuilderloadPropertiesFromFile in class GraphDatabaseBuilderfileName - Filename of properties file to useIllegalArgumentException - if the builder was unable to load from the given filenamepublic GraphDatabaseBuilder loadPropertiesFromURL(URL url) throws IllegalArgumentException
GraphDatabaseBuilderloadPropertiesFromURL in class GraphDatabaseBuilderurl - URL of properties file to useIllegalArgumentExceptionpublic org.neo4j.graphdb.GraphDatabaseService newGraphDatabase()
GraphDatabaseBuildernewGraphDatabase in class GraphDatabaseBuilderCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.