Class FluxAdapter<T,​ID,​R>

  • All Implemented Interfaces:
    io.github.pellse.reactive.assembler.AssemblerAdapter<T,​ID,​R,​reactor.core.publisher.Flux<R>>

    public final class FluxAdapter<T,​ID,​R>
    extends java.lang.Object
    implements io.github.pellse.reactive.assembler.AssemblerAdapter<T,​ID,​R,​reactor.core.publisher.Flux<R>>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Flux<R> convertMapperSources​(org.reactivestreams.Publisher<T> topLevelEntitiesProvider, java.util.function.Function<java.lang.Iterable<T>,​java.util.stream.Stream<org.reactivestreams.Publisher<? extends java.util.Map<ID,​?>>>> mapperSourcesBuilder, java.util.function.BiFunction<java.lang.Iterable<T>,​java.util.List<java.util.Map<ID,​?>>,​java.util.stream.Stream<R>> aggregateStreamBuilder)  
      static <T,​ID,​R>
      FluxAdapter<T,​ID,​R>
      fluxAdapter()  
      static <T,​ID,​R>
      FluxAdapter<T,​ID,​R>
      fluxAdapter​(reactor.core.scheduler.Scheduler scheduler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convertMapperSources

        public reactor.core.publisher.Flux<R> convertMapperSources​(org.reactivestreams.Publisher<T> topLevelEntitiesProvider,
                                                                   java.util.function.Function<java.lang.Iterable<T>,​java.util.stream.Stream<org.reactivestreams.Publisher<? extends java.util.Map<ID,​?>>>> mapperSourcesBuilder,
                                                                   java.util.function.BiFunction<java.lang.Iterable<T>,​java.util.List<java.util.Map<ID,​?>>,​java.util.stream.Stream<R>> aggregateStreamBuilder)
        Specified by:
        convertMapperSources in interface io.github.pellse.reactive.assembler.AssemblerAdapter<T,​ID,​R,​reactor.core.publisher.Flux<R>>
      • fluxAdapter

        public static <T,​ID,​R> FluxAdapter<T,​ID,​R> fluxAdapter()
      • fluxAdapter

        public static <T,​ID,​R> FluxAdapter<T,​ID,​R> fluxAdapter​(reactor.core.scheduler.Scheduler scheduler)