Marko A. Rodriguez created TINKERPOP-1101:
---------------------------------------------

             Summary: MapReduce.combine() API has wrong generics.
                 Key: TINKERPOP-1101
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1101
             Project: TinkerPop
          Issue Type: Bug
          Components: process
    Affects Versions: 3.1.1-incubating
            Reporter: Marko A. Rodriguez
             Fix For: 3.2.0-incubating


I just realized that I hosed the generics for {{MapReduce.combine()}}. 
Moreover, I messed up the emitter type. To fix this, its a breaking change for 
providers.

Currently, its:

{code}
public default void combine(final MK key, final Iterator<MV> values, final 
ReduceEmitter<RK, RV> emitter)
{code}

It should be:

{code}
public default void combine(final MK key, final Iterator<MV> values, final 
MapEmitter<MK,MV> emitter)
{code}

Dar.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to