Interface MapReduce.ReduceEmitter<OK,​OV>

  • Type Parameters:
    OK - the key type
    OV - the value type
    Enclosing interface:

    public static interface MapReduce.ReduceEmitter<OK,​OV>
    The ReduceEmitter is used to emit key/value pairs from the combine() and reduce() stages of the MapReduce job. The implementation of ReduceEmitter is up to the vendor, not the developer.
    • Method Detail

      • emit

        void emit​(OK key,
                  OV value)
      • emit

        default void emit​(OV value)
        A default method that assumes the key is MapReduce.NullObject.
        value - the value to emit.