Interface MapReduce.MapEmitter<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type
    All Known Implementing Classes:
    TinkerMapEmitter
    Enclosing interface:
    MapReduce<MK,​MV,​RK,​RV,​R>

    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.
        Parameters:
        value - the value to emit.