Class SingleDatabaseRoutingProcedureRunner

java.lang.Object
org.neo4j.driver.internal.cluster.SingleDatabaseRoutingProcedureRunner
All Implemented Interfaces:
RoutingProcedureRunner
Direct Known Subclasses:
MultiDatabasesRoutingProcedureRunner

public class SingleDatabaseRoutingProcedureRunner extends Object implements RoutingProcedureRunner
This implementation of the RoutingProcedureRunner works with single database versions of Neo4j calling the procedure `dbms.cluster.routing.getRoutingTable`
  • Constructor Details

    • SingleDatabaseRoutingProcedureRunner

      public SingleDatabaseRoutingProcedureRunner(RoutingContext context, Logging logging)
  • Method Details

    • run

      public CompletionStage<RoutingProcedureResponse> run(Connection connection, org.neo4j.driver.internal.DatabaseName databaseName, Set<Bookmark> bookmarks, String impersonatedUser)
      Description copied from interface: RoutingProcedureRunner
      Run the calls to the server
      Specified by:
      run in interface RoutingProcedureRunner
      Parameters:
      connection - The connection which will be used to call the server
      databaseName - The database name
      bookmarks - The bookmarks used to query the routing information
      impersonatedUser - The impersonated user, should be null for non-impersonated requests
      Returns:
      The routing table