com.hazelcast.mapreduce

## Interface ReducerFactory<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

  Deprecated.
  MapReduce is deprecated and will be removed in 4.0. For map aggregations, you can use `Aggregator` on IMap. For general data processing, it is superseded by Hazelcast Jet.

      @Deprecated
      public interface ReducerFactory<KeyIn,ValueIn,ValueOut>
      extends Serializable

  A ReducerFactory implementation is used to build `Reducer` instances per key.
  An implementation needs to be serializable by Hazelcast since it might be distributed inside the cluster to do parallel calculations for reducing.
  Since:
    3.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `Reducer<ValueIn,ValueOut>` | `newReducer(KeyIn key)` Deprecated. Build a new `Reducer` instance specific to the supplied key.

- - ### Method Detail

    - #### newReducer

          Reducer<ValueIn,ValueOut> newReducer(KeyIn key)

      Deprecated.
      Build a new `Reducer` instance specific to the supplied key.
      Parameters:
        `key` - key the Reducer is built for
      Returns:
        a Reducer instance specific for the given key

Copyright © 2019. All rights reserved.