org.apache.tinkerpop.gremlin.tinkergraph.process.computer

## Class TinkerReduceEmitter<OK,OV>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerReduceEmitter<OK,OV>

- All Implemented Interfaces:
    MapReduce.ReduceEmitter<OK,OV>

      public final class TinkerReduceEmitter<OK,OV>
      extends Object
      implements MapReduce.ReduceEmitter<OK,OV>

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Queue<KeyValue<OK,OV>>` | `reduceQueue`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TinkerReduceEmitter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `complete(MapReduce<?,?,OK,OV,?> mapReduce)`
    `void` | `emit(OK key, OV value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.process.computer.MapReduce.ReduceEmitter

      `emit`

- - ### Field Detail

    - #### reduceQueue

          protected Queue<KeyValue<OK,OV>> reduceQueue

  - ### Constructor Detail

    - #### TinkerReduceEmitter

          public TinkerReduceEmitter()

  - ### Method Detail

    - #### emit

          public void emit(OK key,
                           OV value)

      Specified by:
        `emit` in interface `MapReduce.ReduceEmitter<OK,OV>`

    - #### complete

          protected void complete(MapReduce<?,?,OK,OV,?> mapReduce)

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