@API(status=STABLE,
since="6.2")
public static class Neo4jClient.Builder
extends Object
Neo4j clients.| Modifier and Type | Method and Description |
|---|---|
Neo4jClient |
build() |
Neo4jClient.Builder |
withDatabaseSelectionProvider(DatabaseSelectionProvider databaseSelectionProvider)
Configures the database selection provider.
|
Neo4jClient.Builder |
withNeo4jConversions(Neo4jConversions neo4jConversions)
Configures the set of
Neo4jConversions to use. |
Neo4jClient.Builder |
withUserSelectionProvider(UserSelectionProvider userSelectionProvider)
Configures a provider for impersonated users.
|
public Neo4jClient.Builder withDatabaseSelectionProvider(@Nullable DatabaseSelectionProvider databaseSelectionProvider)
Neo4jTransactionManager. During runtime, it will be
checked if a call is made for the same database when happening in a managed transaction.databaseSelectionProvider - The database selection providerpublic Neo4jClient.Builder withUserSelectionProvider(@Nullable UserSelectionProvider userSelectionProvider)
Neo4jTransactionManager. During runtime, it will be
checked if a call is made for the same user when happening in a managed transaction.userSelectionProvider - The provider for impersonated userspublic Neo4jClient.Builder withNeo4jConversions(Neo4jConversions neo4jConversions)
Neo4jConversions to use.neo4jConversions - the set of conversions to use, can be null, in this case the default set is used.public Neo4jClient build()
Copyright © 2019–2022 Neo4j, Neo4j Sweden AB. All rights reserved.