Uses of Interface
org.springframework.data.neo4j.core.DatabaseSelectionProvider
Package
Description
This package contains configuration related support classes that can be used for application specific, annotated
configuration classes.
This package contains the core infrastructure for creating an imperative or reactive client that can execute queries.
Contains the core infrastructure for translating unmanaged Neo4j transaction into Spring managed transactions.
-
Uses of DatabaseSelectionProvider in org.springframework.data.neo4j.config
Modifier and TypeMethodDescriptionprotected DatabaseSelectionProvider
AbstractNeo4jConfig.databaseSelectionProvider()
Configures the database selection provider.Modifier and TypeMethodDescriptionAbstractNeo4jConfig.neo4jClient
(org.neo4j.driver.Driver driver, DatabaseSelectionProvider databaseSelectionProvider) The driver used here should be the driver resulting fromAbstractNeo4jConfig.driver()
, which is the default.AbstractNeo4jConfig.transactionManager
(org.neo4j.driver.Driver driver, DatabaseSelectionProvider databaseSelectionProvider) Provides aPlatformTransactionManager
for Neo4j based on the driver resulting fromAbstractNeo4jConfig.driver()
. -
Uses of DatabaseSelectionProvider in org.springframework.data.neo4j.core
Modifier and TypeMethodDescriptionstatic DatabaseSelectionProvider
DatabaseSelectionProvider.createStaticDatabaseSelectionProvider
(String databaseName) Creates a statically configured database selection provider always selecting the database with the given namedatabaseName
.Neo4jClient.getDatabaseSelectionProvider()
Returns the assigned database selection provider.static DatabaseSelectionProvider
DatabaseSelectionProvider.getDefaultSelectionProvider()
A database selection provider always returning the default selection.Modifier and TypeMethodDescriptionstatic Neo4jClient
Neo4jClient.create
(org.neo4j.driver.Driver driver, DatabaseSelectionProvider databaseSelectionProvider) Neo4jClient.Builder.withDatabaseSelectionProvider
(DatabaseSelectionProvider databaseSelectionProvider) Configures the database selection provider. -
Uses of DatabaseSelectionProvider in org.springframework.data.neo4j.core.transaction
Modifier and TypeMethodDescriptionNeo4jTransactionManager.Builder.withDatabaseSelectionProvider
(DatabaseSelectionProvider databaseSelectionProvider) Configures the database selection provider.ModifierConstructorDescriptionNeo4jTransactionManager
(org.neo4j.driver.Driver driver, DatabaseSelectionProvider databaseSelectionProvider) This will create a transaction manager targeting whatever the database selection provider determines.Neo4jTransactionManager
(org.neo4j.driver.Driver driver, DatabaseSelectionProvider databaseSelectionProvider, Neo4jBookmarkManager bookmarkManager) This constructor can be used to configure the bookmark manager being used.