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 Summary

    Modifier and Type
    Method
    Description
    void
    emit(K key, V value)
     
    default void
    emit(V value)
    A default method that assumes the key is MapReduce.NullObject.
  • Method Details

    • 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.