Interface ReactiveNeo4jClient.UnboundRunnableSpec
- All Superinterfaces:
Neo4jClient.BindSpec<ReactiveNeo4jClient.RunnableSpec>
,ReactiveNeo4jClient.RunnableSpec
- Enclosing interface:
- ReactiveNeo4jClient
public static interface ReactiveNeo4jClient.UnboundRunnableSpec
extends ReactiveNeo4jClient.RunnableSpec
Contract for a runnable query specification which still can be bound to a specific database and an impersonated user.
- Since:
- 6.2
-
Method Summary
Modifier and TypeMethodDescriptionPins the previously defined query to an impersonated user.Pins the previously defined query to a specific database.Methods inherited from interface org.springframework.data.neo4j.core.Neo4jClient.BindSpec
bind, bindAll
Methods inherited from interface org.springframework.data.neo4j.core.ReactiveNeo4jClient.RunnableSpec
fetch, fetchAs, run
-
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.
-