Interface MapReduce.MapEmitter<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type
    Enclosing interface:

    public static interface MapReduce.MapEmitter<K,​V>
    The MapEmitter is used to emit key/value pairs from the map() stage of the MapReduce job. The implementation of MapEmitter is up to the vendor, not the developer.
    • Method Detail

      • emit

        void emit​(K key,
                  V value)
      • emit

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