public class GraphDatabase extends Object
drivers, optionally letting you driver(URI, Config) to configure them.Driver| Constructor and Description |
|---|
GraphDatabase() |
| Modifier and Type | Method and Description |
|---|---|
static Driver |
driver(String uri)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(String uri,
AuthToken authToken)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(String uri,
AuthToken authToken,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
driver(String uri,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
driver(URI uri)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(URI uri,
AuthToken authToken)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(URI uri,
AuthToken authToken,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
driver(URI uri,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
public static Driver driver(String uri)
uri - the URL to a Neo4j instancepublic static Driver driver(URI uri)
uri - the URL to a Neo4j instancepublic static Driver driver(URI uri, Config config)
uri - the URL to a Neo4j instanceconfig - user defined configurationpublic static Driver driver(String uri, Config config)
uri - the URL to a Neo4j instanceconfig - user defined configurationpublic static Driver driver(String uri, AuthToken authToken)
uri - the URL to a Neo4j instanceauthToken - authentication to use, see AuthTokenspublic static Driver driver(URI uri, AuthToken authToken)
uri - the URL to a Neo4j instanceauthToken - authentication to use, see AuthTokenspublic static Driver driver(String uri, AuthToken authToken, Config config)
uri - the URL to a Neo4j instanceauthToken - authentication to use, see AuthTokensconfig - user defined configurationpublic static Driver driver(URI uri, AuthToken authToken, Config config)
uri - the URL to a Neo4j instanceauthToken - authentication to use, see AuthTokensconfig - user defined configurationCopyright © 2017. All rights reserved.