Interface R2dbcResultFluxMapper<T,P extends org.reactivestreams.Publisher<T>>
- All Superinterfaces:
ru.tinkoff.kora.common.Mapping.MappingFunction
public interface R2dbcResultFluxMapper<T,P extends org.reactivestreams.Publisher<T>>
extends ru.tinkoff.kora.common.Mapping.MappingFunction
-
Method Summary
Modifier and TypeMethodDescriptionapply(reactor.core.publisher.Flux<io.r2dbc.spi.Result> resultFlux) static <T> R2dbcResultFluxMapper<T,reactor.core.publisher.Flux<T>> flux(R2dbcRowMapper<T> rowMapper) static <T> R2dbcResultFluxMapper<T,reactor.core.publisher.Mono<T>> mono(R2dbcRowMapper<T> rowMapper) static <T> R2dbcResultFluxMapper<List<T>,reactor.core.publisher.Mono<List<T>>> monoList(R2dbcRowMapper<T> rowMapper)
-
Method Details
-
mono
static <T> R2dbcResultFluxMapper<T,reactor.core.publisher.Mono<T>> mono(R2dbcRowMapper<T> rowMapper) -
monoList
static <T> R2dbcResultFluxMapper<List<T>,reactor.core.publisher.Mono<List<T>>> monoList(R2dbcRowMapper<T> rowMapper) -
flux
static <T> R2dbcResultFluxMapper<T,reactor.core.publisher.Flux<T>> flux(R2dbcRowMapper<T> rowMapper) -
apply
-