org.apache.tinkerpop.gremlin.process.computer

## Interface MapReduce.ReduceEmitter<OK,OV>

- Type Parameters:
    `OK` - the key type
    `OV` - the value type
  All Known Implementing Classes:
    HadoopCombine.HadoopCombineEmitter, HadoopReduce.HadoopReduceEmitter, 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

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `emit(OK key, OV value)`
    `default void` | `emit(OV value)` A default method that assumes the key is `MapReduce.NullObject`.

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

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.