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 Driver
Return a driver for a Neo4j instance with the default configuration settingsstatic Driver
Return a driver for a Neo4j instance with the default configuration settingsstatic Driver
driver
(String uri, AuthTokenManager authTokenManager) Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager
.static Driver
driver
(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManager
andClientCertificateManager
.static Driver
driver
(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
,ClientCertificateManager
and driverConfig
.static Driver
driver
(String uri, AuthTokenManager authTokenManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
and custom configuration.static Driver
driver
(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthToken
andClientCertificateManager
.static Driver
driver
(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken
,ClientCertificateManager
and driverConfig
.static Driver
Return a driver for a Neo4j instance with custom configuration.static Driver
driver
(String uri, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedClientCertificateManager
.static Driver
driver
(String uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManager
and driverConfig
.static Driver
Return a driver for a Neo4j instance with custom configuration.static Driver
Return a driver for a Neo4j instance with the default configuration settingsstatic Driver
Return a driver for a Neo4j instance with the default configuration settingsstatic Driver
driver
(URI uri, AuthTokenManager authTokenManager) Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager
.static Driver
driver
(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManager
andClientCertificateManager
.static Driver
driver
(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
,ClientCertificateManager
and driverConfig
.static Driver
driver
(URI uri, AuthTokenManager authTokenManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
and custom configuration.static Driver
driver
(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthToken
andClientCertificateManager
.static Driver
driver
(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken
,ClientCertificateManager
and driverConfig
.static Driver
Return a driver for a Neo4j instance with custom configuration.static Driver
driver
(URI uri, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedClientCertificateManager
.static Driver
driver
(URI uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManager
and driverConfig
.static Driver
Return 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, seeAuthTokens
config
- 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, seeAuthTokens
config
- 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 providedAuthTokenManager
and 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 providedAuthTokenManager
and 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
@Preview(name="mTLS") public static Driver driver(String uri, ClientCertificateManager clientCertificateManager) 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
@Preview(name="mTLS") public static Driver driver(String uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManager
and 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
@Preview(name="mTLS") public static Driver driver(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthToken
andClientCertificateManager
.- 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
@Preview(name="mTLS") public static Driver driver(String uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken
,ClientCertificateManager
and 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
@Preview(name="mTLS") public static Driver driver(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManager
andClientCertificateManager
.- 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
@Preview(name="mTLS") public static Driver driver(String uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
,ClientCertificateManager
and 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
@Preview(name="mTLS") public static Driver driver(URI uri, ClientCertificateManager clientCertificateManager) 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
@Preview(name="mTLS") public static Driver driver(URI uri, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedClientCertificateManager
and 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
@Preview(name="mTLS") public static Driver driver(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthToken
andClientCertificateManager
.- 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
@Preview(name="mTLS") public static Driver driver(URI uri, AuthToken authToken, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthToken
,ClientCertificateManager
and 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
@Preview(name="mTLS") public static Driver driver(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager) Returns a driver for a Neo4j instance with the providedAuthTokenManager
andClientCertificateManager
.- 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
@Preview(name="mTLS") public static Driver driver(URI uri, AuthTokenManager authTokenManager, ClientCertificateManager clientCertificateManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManager
,ClientCertificateManager
and 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
-