Interface ReactiveNeo4jClient.RunnableSpec
- All Superinterfaces:
Neo4jClient.BindSpec<ReactiveNeo4jClient.RunnableSpec>
- All Known Subinterfaces:
ReactiveNeo4jClient.RunnableSpecBoundToDatabase, ReactiveNeo4jClient.RunnableSpecBoundToDatabaseAndUser, ReactiveNeo4jClient.RunnableSpecBoundToUser, ReactiveNeo4jClient.UnboundRunnableSpec
- Enclosing interface:
ReactiveNeo4jClient
public static interface ReactiveNeo4jClient.RunnableSpec
extends Neo4jClient.BindSpec<ReactiveNeo4jClient.RunnableSpec>
Contract for a runnable query that can be either run returning its result, run
without results or be parameterized.
- Since:
- 6.0
- Author:
- Michael J. Simons
-
Method Summary
Methods inherited from interface Neo4jClient.BindSpec
bind, bindAll
-
Method Details
-
fetchAs
Create a mapping for each record return to a specific type.- Type Parameters:
T- the type of the class- Parameters:
targetClass- the class each record should be mapped to- Returns:
- a mapping spec that allows specifying a mapping function
-
fetch
ReactiveNeo4jClient.RecordFetchSpec<Map<String,Object>> fetch()Fetch all records mapped into generic maps.- Returns:
- a fetch specification that maps into generic maps
-
run
Mono<org.neo4j.driver.summary.ResultSummary> run()Execute the query and discard the results. It returns the drivers result summary, including various counters and other statistics.- Returns:
- a mono containing the native summary of the query.
-