| Package | Description |
|---|---|
| org.springframework.data.neo4j.config |
This package contains configuration related support classes that can be used for application specific, annotated
configuration classes.
|
| org.springframework.data.neo4j.core |
This package contains the core infrastructure for creating an imperative or reactive client that can execute queries.
|
| org.springframework.data.neo4j.core.transaction |
Contains the core infrastructure for translating unmanaged Neo4j transaction into Spring managed transactions.
|
| Modifier and Type | Method and Description |
|---|---|
protected DatabaseSelectionProvider |
AbstractNeo4jConfig.databaseSelectionProvider()
Configures the database name provider.
|
| Modifier and Type | Method and Description |
|---|---|
Neo4jClient |
AbstractNeo4jConfig.neo4jClient(org.neo4j.driver.Driver driver,
DatabaseSelectionProvider databaseSelectionProvider)
The driver used here should be the driver resulting from
AbstractNeo4jConfig.driver(), which is the default. |
PlatformTransactionManager |
AbstractNeo4jConfig.transactionManager(org.neo4j.driver.Driver driver,
DatabaseSelectionProvider databaseNameProvider)
Provides a
PlatformTransactionManager for Neo4j based on the driver resulting from AbstractNeo4jConfig.driver(). |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseSelectionProvider |
DatabaseSelectionProvider.createStaticDatabaseSelectionProvider(String databaseName)
Creates a statically configured database selection provider always selecting the database with the given name
databaseName. |
DatabaseSelectionProvider |
Neo4jClient.getDatabaseSelectionProvider()
Returns the assigned database selection provider.
|
static DatabaseSelectionProvider |
DatabaseSelectionProvider.getDefaultSelectionProvider()
A database selection provider always returning the default selection.
|
| Modifier and Type | Method and Description |
|---|---|
static Neo4jClient |
Neo4jClient.create(org.neo4j.driver.Driver driver,
DatabaseSelectionProvider databaseSelectionProvider) |
| Constructor and Description |
|---|
Neo4jTemplate(Neo4jClient neo4jClient,
Neo4jMappingContext neo4jMappingContext,
DatabaseSelectionProvider databaseSelectionProvider)
Deprecated.
|
Neo4jTemplate(Neo4jClient neo4jClient,
Neo4jMappingContext neo4jMappingContext,
DatabaseSelectionProvider databaseSelectionProvider,
EntityCallbacks entityCallbacks)
Deprecated.
|
| Constructor and Description |
|---|
Neo4jTransactionManager(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.
|
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.