Interface MapReduce.ReduceEmitter<OK,OV>

Type Parameters:
OK - the key type
OV - the value type
All Known Implementing Classes:
TinkerReduceEmitter
Enclosing interface:
MapReduce<MK,MV,RK,RV,R>

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 Summary

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

    • emit

      void emit(OK key, OV value)
    • emit

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