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
-
Method Summary
Methods inherited from interface org.springframework.data.neo4j.core.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
reactor.core.publisher.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.
-