Interface Stage.Map

  • All Superinterfaces:
    Enclosing interface:

    public static interface Stage.Map
    extends Stage
    A map stage.

    The given mapper function must be invoked on each element consumed, and the output of the function must be emitted.

    Any RuntimeException thrown by the function must be propagated downstream as an error, and upstream must be cancelled. Any subsequent elements received from upstream before the cancellation signal is handled must be dropped.

    • Method Detail

      • getMapper

        java.util.function.Function<?,?> getMapper​()
        The mapper function.
        The mapper function.