Interface ConnectionDetails

All Known Subinterfaces:
MigrationChain

public interface ConnectionDetails
Provides detailed information about the connection being used when invoking any method that talks to the database.
Since:
1.4.0
Author:
Michael J. Simons
Soundtrack
Snoop Dogg - Doggystyle
  • Method Details

    • getServerAddress

      String getServerAddress()
      Returns:
      the address of the server used
    • getServerVersion

      String getServerVersion()
      Returns:
      the Neo4j version the server is running
    • getServerEdition

      String getServerEdition()
      Returns:
      the Neo4j edition the server is running
      Since:
      1.5.0
    • getUsername

      String getUsername()
      Returns:
      the Neo4j user that ran the migrations
    • getOptionalDatabaseName

      Optional<String> getOptionalDatabaseName()
      Returns:
      the database if applicable (Neo4j 4.0 and up)
    • getOptionalSchemaDatabaseName

      Optional<String> getOptionalSchemaDatabaseName()
      Returns:
      the database if applicable (Neo4j 4.0 and up)