com.hazelcast.mapreduce
Interface CombinerFactory<KeyIn,ValueIn,ValueOut>

Type Parameters:
KeyIn - key type of the resulting keys
ValueIn - value type of the incoming values
ValueOut - value type of the reduced values
All Superinterfaces:
Serializable

@Beta
public interface CombinerFactory<KeyIn,ValueIn,ValueOut>
extends Serializable

A CombinerFactory implementation is used to build Combiner instances per key.
An implementation needs to be serializable by Hazelcast since it is distributed together with the Mapper implementation to run alongside.

Since:
3.2

Method Summary
 Combiner<ValueIn,ValueOut> newCombiner(KeyIn key)
          Build a new Combiner instance specific to the supplied key.
 

Method Detail

newCombiner

Combiner<ValueIn,ValueOut> newCombiner(KeyIn key)
Build a new Combiner instance specific to the supplied key.

Parameters:
key - key the Combiner is build for
Returns:
a Combiner instance specific for the given key


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.