Interface ReactiveExecutableResultStatement
-
- All Superinterfaces:
ExecutableStatement,ReactiveExecutableStatement
public interface ReactiveExecutableResultStatement extends ReactiveExecutableStatement
This interface extendsReactiveExecutableStatementand adds severalfetchWithXXXmethods that can be used with anyResultStatementto retrieve their results in a reactive fashion.The same requirements for the needed classes apply as with
ReactiveExecutableStatement.- Since:
- 2021.2.1
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.reactivestreams.Publisher<org.neo4j.driver.Record>fetchWith(org.neo4j.driver.reactive.RxQueryRunner queryRunner)Fetches a publisher of records from a database via the givenqueryRunnerin a reactive fashion.<T> org.reactivestreams.Publisher<T>fetchWith(org.neo4j.driver.reactive.RxQueryRunner queryRunner, java.util.function.Function<org.neo4j.driver.Record,T> mappingFunction)Fetches a publisher of things from a database via the givenqueryRunnerin a reactive fashion.-
Methods inherited from interface org.neo4j.cypherdsl.core.executables.ExecutableStatement
executeWith, executeWith, getCypher, getParameterNames, getParameters
-
Methods inherited from interface org.neo4j.cypherdsl.core.executables.ReactiveExecutableStatement
executeWith
-
-
-
-
Method Detail
-
fetchWith
<T> org.reactivestreams.Publisher<T> fetchWith(org.neo4j.driver.reactive.RxQueryRunner queryRunner, java.util.function.Function<org.neo4j.driver.Record,T> mappingFunction)Fetches a publisher of things from a database via the givenqueryRunnerin a reactive fashion. ThemappingFunctionis used for converting records into a custom types.- Type Parameters:
T- The type of the returned objects- Parameters:
queryRunner- Any type of reactive query runner. Neither sessions nor transactions will be closed.mappingFunction- A mapping function.- Returns:
- A publisher of objects.
-
fetchWith
default org.reactivestreams.Publisher<org.neo4j.driver.Record> fetchWith(org.neo4j.driver.reactive.RxQueryRunner queryRunner)
Fetches a publisher of records from a database via the givenqueryRunnerin a reactive fashion.- Parameters:
queryRunner- Any type of reactive query runner. Neither sessions nor transactions will be closed.- Returns:
- A publisher of records.
-
-