WrappedReducer (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.mapreduce.lib.reduce, class: WrappedReducer

Package org.apache.hadoop.mapreduce.lib.reduce

# Class WrappedReducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

java.lang.Object
org.apache.hadoop.mapreduce.Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

@Public @Evolving public class WrappedReducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT> extends Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
A `Reducer` which wraps a given one to allow for custom `Reducer.Context` implementations.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `class`
  `org.apache.hadoop.mapreduce.lib.reduce.WrappedReducer.Context`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WrappedReducer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>.org.apache.hadoop.mapreduce.Reducer.Context`
  `getReducerContext(ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> reduceContext)`
  A a wrapped `Reducer.Context` for custom implementations.

  ### Methods inherited from class org.apache.hadoop.mapreduce.Reducer

  `cleanup, reduce, run, setup`

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

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

- ## Constructor Details

  - ### WrappedReducer

    public WrappedReducer()

- ## Method Details

  - ### getReducerContext

    public Reducer<KEYIN,VALUEIN,KEYOUT,VALUEOUT>.org.apache.hadoop.mapreduce.Reducer.Context getReducerContext(ReduceContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> reduceContext)
    A a wrapped `Reducer.Context` for custom implementations.
    Parameters:
      `reduceContext` - `ReduceContext` to be wrapped
    Returns:
      a wrapped `Reducer.Context` for custom implementations