java.lang.Object
org.neo4j.driver.GraphDatabase
Creates
drivers, optionally letting you driver(URI, Config) to configure them.- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DriverReturn a driver for a Neo4j instance with the default configuration settingsstatic DriverReturn a driver for a Neo4j instance with the default configuration settingsstatic Driverdriver(String uri, AuthTokenManager authTokenManager) Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager.static Driverdriver(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManagerandClientCertificateManager.static Driverdriver(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager,ClientCertificateManagerand driverConfig.static Driverdriver(String uri, AuthTokenManager authTokenManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManagerand custom configuration.static Driverdriver(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenandClientCertificateManager.static Driverdriver(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken,ClientCertificateManagerand driverConfig.static DriverReturn a driver for a Neo4j instance with custom configuration.static Driverdriver(String uri, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedClientCertificateManager.static Driverdriver(String uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManagerand driverConfig.static DriverReturn a driver for a Neo4j instance with custom configuration.static DriverReturn a driver for a Neo4j instance with the default configuration settingsstatic DriverReturn a driver for a Neo4j instance with the default configuration settingsstatic Driverdriver(URI uri, AuthTokenManager authTokenManager) Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager.static Driverdriver(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManagerandClientCertificateManager.static Driverdriver(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager,ClientCertificateManagerand driverConfig.static Driverdriver(URI uri, AuthTokenManager authTokenManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManagerand custom configuration.static Driverdriver(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenandClientCertificateManager.static Driverdriver(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken,ClientCertificateManagerand driverConfig.static DriverReturn a driver for a Neo4j instance with custom configuration.static Driverdriver(URI uri, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedClientCertificateManager.static Driverdriver(URI uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManagerand driverConfig.static DriverReturn a driver for a Neo4j instance with custom configuration.
-
Method Details
-
driver
Return a driver for a Neo4j instance with the default configuration settings- Parameters:
uri- the URL to a Neo4j instance- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with the default configuration settings- Parameters:
uri- the URL to a Neo4j instance- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with custom configuration.- Parameters:
uri- the URL to a Neo4j instanceconfig- user defined configuration- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with custom configuration.- Parameters:
uri- the URL to a Neo4j instanceconfig- user defined configuration- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with the default configuration settings- Parameters:
uri- the URL to a Neo4j instanceauthToken- authentication to use, seeAuthTokens- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with the default configuration settings- Parameters:
uri- the URL to a Neo4j instanceauthToken- authentication to use, seeAuthTokens- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with custom configuration.- Parameters:
uri- the URL to a Neo4j instanceauthToken- authentication to use, seeAuthTokensconfig- user defined configuration- Returns:
- a new driver to the database instance specified by the URL
-
driver
Return a driver for a Neo4j instance with custom configuration.- Parameters:
uri- the URL to a Neo4j instanceauthToken- authentication to use, seeAuthTokensconfig- user defined configuration- Returns:
- a new driver to the database instance specified by the URL
-
driver
Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- manager to use- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.8
- See Also:
-
driver
Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- manager to use- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.8
- See Also:
-
driver
Returns a driver for a Neo4j instance with the providedAuthTokenManagerand custom configuration.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- manager to useconfig- user defined configuration- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.8
- See Also:
-
driver
Returns a driver for a Neo4j instance with the providedAuthTokenManagerand custom configuration.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- manager to useconfig- user defined configuration- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.8
- See Also:
-
driver
Returns a driver for a Neo4j instance with the providedClientCertificateManager.- Parameters:
uri- the URL to a Neo4j instanceclientCertificateManager- the client certificate manager- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
- See Also:
-
driver
public static Driver driver(String uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManagerand driverConfig.- Parameters:
uri- the URL to a Neo4j instanceclientCertificateManager- the client certificate managerconfig- the driver config- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenandClientCertificateManager.- Parameters:
uri- the URL to a Neo4j instanceauthToken- the auth tokenclientCertificateManager- the client certificate manager- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken,ClientCertificateManagerand driverConfig.- Parameters:
uri- the URL to a Neo4j instanceauthToken- the auth tokenclientCertificateManager- the client certificate managerconfig- the driver config- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManagerandClientCertificateManager.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- the auth token managerclientCertificateManager- the client certificate manager- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager,ClientCertificateManagerand driverConfig.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- the auth token managerclientCertificateManager- the client certificate managerconfig- the driver config- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
Returns a driver for a Neo4j instance with the providedClientCertificateManager.- Parameters:
uri- the URL to a Neo4j instanceclientCertificateManager- the client certificate manager- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(URI uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManagerand driverConfig.- Parameters:
uri- the URL to a Neo4j instanceclientCertificateManager- the client certificate managerconfig- the driver config- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenandClientCertificateManager.- Parameters:
uri- the URL to a Neo4j instanceauthToken- the auth tokenclientCertificateManager- the client certificate manager- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken,ClientCertificateManagerand driverConfig.- Parameters:
uri- the URL to a Neo4j instanceauthToken- the auth tokenclientCertificateManager- the client certificate managerconfig- the driver config- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManagerandClientCertificateManager.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- the auth token managerclientCertificateManager- the client certificate manager- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-
driver
public static Driver driver(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager,ClientCertificateManagerand driverConfig.- Parameters:
uri- the URL to a Neo4j instanceauthTokenManager- the auth token managerclientCertificateManager- the client certificate managerconfig- the driver config- Returns:
- a new driver to the database instance specified by the URL
- Since:
- 5.19
-