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 url)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(String url,
AuthToken authToken)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(String url,
AuthToken authToken,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
driver(String url,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
driver(URI url)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(URI url,
AuthToken authToken)
Return a driver for a Neo4j instance with the default configuration settings
|
static Driver |
driver(URI url,
AuthToken authToken,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
static Driver |
driver(URI url,
Config config)
Return a driver for a Neo4j instance with custom configuration.
|
public static Driver driver(String url)
url
- the URL to a Neo4j instancepublic static Driver driver(URI url)
url
- the URL to a Neo4j instancepublic static Driver driver(URI url, Config config)
url
- the URL to a Neo4j instanceconfig
- user defined configurationpublic static Driver driver(String url, Config config)
url
- the URL to a Neo4j instanceconfig
- user defined configurationpublic static Driver driver(String url, AuthToken authToken)
url
- the URL to a Neo4j instanceauthToken
- authentication to use, see AuthTokens
public static Driver driver(URI url, AuthToken authToken)
url
- the URL to a Neo4j instanceauthToken
- authentication to use, see AuthTokens
public static Driver driver(String url, AuthToken authToken, Config config)
url
- the URL to a Neo4j instanceauthToken
- authentication to use, see AuthTokens
config
- user defined configurationpublic static Driver driver(URI url, AuthToken authToken, Config config)
url
- the URL to a Neo4j instanceauthToken
- authentication to use, see AuthTokens
config
- user defined configurationCopyright © 2016. All rights reserved.