Class DatabaseSelection
java.lang.Object
org.springframework.data.neo4j.core.DatabaseSelection
A value holder indicating a database selection based on an optional name.
null indicates to let the server decide.
- Since:
- 6.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseSelectionCreate a new database selection by the given databaseName.boolean@Nullable StringgetValue()inthashCode()static DatabaseSelection
-
Method Details
-
undecided
-
byName
Create a new database selection by the given databaseName.- Parameters:
databaseName- the database name to select the database with.- Returns:
- a database selection
-
getValue
-
equals
-
hashCode
-