org.apache.tinkerpop.gremlin.process.computer

## Interface MapReduce.MapEmitter<K,V>

- Type Parameters:
    `K` - the key type
    `V` - the value type
  All Known Implementing Classes:
    HadoopMap.HadoopMapEmitter, 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

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

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

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