@API(status=STABLE,
since="6.0")
@FunctionalInterface
public interface ReactiveDatabaseSelectionProvider
DatabaseSelectionProvider and it works in the same way but uses
reactive return types containing the target database name. An empty mono indicates the default database.| Modifier and Type | Method and Description |
|---|---|
static ReactiveDatabaseSelectionProvider |
createStaticDatabaseSelectionProvider(String databaseName)
Creates a statically configured database selection provider always selecting the database with the given name
databaseName. |
reactor.core.publisher.Mono<DatabaseSelection> |
getDatabaseSelection() |
static ReactiveDatabaseSelectionProvider |
getDefaultSelectionProvider()
A database selector always selecting the default database.
|
reactor.core.publisher.Mono<DatabaseSelection> getDatabaseSelection()
static ReactiveDatabaseSelectionProvider createStaticDatabaseSelectionProvider(String databaseName)
databaseName.databaseName - The database name to use, must not be null nor empty.static ReactiveDatabaseSelectionProvider getDefaultSelectionProvider()
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.