Interface ReactiveSqlSessionOperator
-
- All Known Implementing Classes:
DefaultReactiveSqlSessionOperator
public interface ReactiveSqlSessionOperatorThe interface Reactive sql session operator.- Version:
- 1.0.0
- Author:
- Gang Cheng
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> reactor.core.publisher.Mono<T>execute(reactor.core.publisher.Mono<T> monoExecution)execute with Mono<T> reactor.core.publisher.Mono<T>executeAndCommit(reactor.core.publisher.Mono<T> monoExecution)execute with Mono then commit<T> reactor.core.publisher.Mono<T>executeAndRollback(reactor.core.publisher.Mono<T> monoExecution)execute with Mono then rollback<T> reactor.core.publisher.Flux<T>executeMany(reactor.core.publisher.Flux<T> fluxExecution)execute with Mono then commit<T> reactor.core.publisher.Flux<T>executeManyAndCommit(reactor.core.publisher.Flux<T> fluxExecution)execute with Flux<T> reactor.core.publisher.Flux<T>executeManyAndRollback(reactor.core.publisher.Flux<T> fluxExecution)execute with Flux then rollback
-
-
-
Method Detail
-
execute
<T> reactor.core.publisher.Mono<T> execute(reactor.core.publisher.Mono<T> monoExecution)
execute with Mono- Type Parameters:
T- the type parameter- Parameters:
monoExecution- the mono execution- Returns:
- mono
-
executeAndCommit
<T> reactor.core.publisher.Mono<T> executeAndCommit(reactor.core.publisher.Mono<T> monoExecution)
execute with Mono then commit- Type Parameters:
T- the type parameter- Parameters:
monoExecution- the mono execution- Returns:
- mono
-
executeAndRollback
<T> reactor.core.publisher.Mono<T> executeAndRollback(reactor.core.publisher.Mono<T> monoExecution)
execute with Mono then rollback- Type Parameters:
T- the type parameter- Parameters:
monoExecution- the mono execution- Returns:
- mono
-
executeMany
<T> reactor.core.publisher.Flux<T> executeMany(reactor.core.publisher.Flux<T> fluxExecution)
execute with Mono then commit- Type Parameters:
T- the type parameter- Parameters:
fluxExecution- the flux execution- Returns:
- flux
-
executeManyAndCommit
<T> reactor.core.publisher.Flux<T> executeManyAndCommit(reactor.core.publisher.Flux<T> fluxExecution)
execute with Flux- Type Parameters:
T- the type parameter- Parameters:
fluxExecution- the flux execution- Returns:
- flux
-
executeManyAndRollback
<T> reactor.core.publisher.Flux<T> executeManyAndRollback(reactor.core.publisher.Flux<T> fluxExecution)
execute with Flux then rollback- Type Parameters:
T- the type parameter- Parameters:
fluxExecution- the flux execution- Returns:
- flux
-
-