Class RxOps

java.lang.Object
org.aksw.commons.rx.op.RxOps

public class RxOps extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <I,O> io.reactivex.rxjava3.core.FlowableTransformer<I,O>
    createParallelFlatMapperOrdered(Function<? super I, ? extends Iterable<? extends O>> mapper)
     
    static <I,O> io.reactivex.rxjava3.core.FlowableTransformer<I,O>
    createParallelMapperOrdered(Function<? super I, O> mapper)
    Factory method for yielding a FlowableTransformer that applies a given flatMap function in parallel but apply local ordering so that items are emitted in order
    static <I,O> io.reactivex.rxjava3.core.FlowableTransformer<I,O>
    createParallelMapperOrderedCore(io.reactivex.rxjava3.parallel.ParallelTransformer<Map.Entry<I,Long>, Map.Entry<O,Long>> parallelTransformer)
    Factory method for yielding a FlowableTransformer that applies a given parallelTransformer thereby providing wrapping for local ordering so that items are emitted in order
    static <I,O> Iterator<O>
    transform(Iterator<I> it, io.reactivex.rxjava3.core.FlowableTransformer<? super I, O> transformer)
    Transform an iterator using a flowable transformer

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RxOps

      public RxOps()
  • Method Details

    • transform

      public static <I,O> Iterator<O> transform(Iterator<I> it, io.reactivex.rxjava3.core.FlowableTransformer<? super I, O> transformer)
      Transform an iterator using a flowable transformer
    • createParallelMapperOrderedCore

      public static <I,O> io.reactivex.rxjava3.core.FlowableTransformer<I,O> createParallelMapperOrderedCore(io.reactivex.rxjava3.parallel.ParallelTransformer<Map.Entry<I,Long>, Map.Entry<O,Long>> parallelTransformer)
      Factory method for yielding a FlowableTransformer that applies a given parallelTransformer thereby providing wrapping for local ordering so that items are emitted in order
      Type Parameters:
      I -
      O -
      Parameters:
      flatMapper -
      Returns:
    • createParallelMapperOrdered

      public static <I,O> io.reactivex.rxjava3.core.FlowableTransformer<I,O> createParallelMapperOrdered(Function<? super I, O> mapper)
      Factory method for yielding a FlowableTransformer that applies a given flatMap function in parallel but apply local ordering so that items are emitted in order
      Type Parameters:
      I -
      O -
      Parameters:
      flatMapper -
      Returns:
    • createParallelFlatMapperOrdered

      public static <I,O> io.reactivex.rxjava3.core.FlowableTransformer<I,O> createParallelFlatMapperOrdered(Function<? super I, ? extends Iterable<? extends O>> mapper)