java.lang.Object
org.neo4j.driver.internal.reactive.AbstractReactiveSession<S>
- Direct Known Subclasses:
InternalReactiveSession
,InternalReactiveSession
,InternalRxSession
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.reactivestreams.Publisher<Void>
closeTransaction
(S transaction, boolean commit) protected abstract S
createTransaction
(UnmanagedTransaction unmanagedTransaction) protected org.reactivestreams.Publisher<S>
doBeginTransaction
(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) protected <T> org.reactivestreams.Publisher<T>
doClose()
protected <T> org.reactivestreams.Publisher<T>
run
(Query query, TransactionConfig config, Function<RxResultCursor, T> cursorToResult) protected <T> org.reactivestreams.Publisher<T>
runTransaction
(AccessMode mode, Function<S, ? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config)
-
Field Details
-
session
-
-
Constructor Details
-
AbstractReactiveSession
-
-
Method Details
-
createTransaction
-
closeTransaction
-
doBeginTransaction
protected org.reactivestreams.Publisher<S> doBeginTransaction(TransactionConfig config, String txType, ApiTelemetryWork apiTelemetryWork) -
runTransaction
protected <T> org.reactivestreams.Publisher<T> runTransaction(AccessMode mode, Function<S, ? extends org.reactivestreams.Publisher<T>> work, TransactionConfig config) -
lastBookmarks
-
run
protected <T> org.reactivestreams.Publisher<T> run(Query query, TransactionConfig config, Function<RxResultCursor, T> cursorToResult) -
doClose
protected <T> org.reactivestreams.Publisher<T> doClose()
-