Interface Neo4jClient.UnboundRunnableSpec

All Superinterfaces:
Neo4jClient.BindSpec<Neo4jClient.RunnableSpec>, Neo4jClient.RunnableSpec
Enclosing interface:
Neo4jClient

public static interface Neo4jClient.UnboundRunnableSpec extends Neo4jClient.RunnableSpec
Contract for a runnable query specification which still can be bound to a specific database and an impersonated user.
Since:
6.2
  • Method Details

    • in

      Pins the previously defined query to a specific database. A value of null chooses the default database. The empty string "" is not permitted.
      Parameters:
      targetDatabase - selected database to use. A null value indicates the default database.
      Returns:
      A runnable query specification that is now bound to a given database.
    • asUser

      Pins the previously defined query to an impersonated user. A value of null chooses the user owning the physical connection. The empty string "" is not permitted.
      Parameters:
      asUser - The name of the user to impersonate. A null value indicates the connected user.
      Returns:
      A runnable query specification that is now bound to a given database.