|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.mapred.lib.IdentityReducer<K,V>
Reducer
instead.
@Deprecated public class IdentityReducer<K,V>
Performs no reduction, writing all input values directly to the output.
Constructor Summary | |
---|---|
IdentityReducer()
Deprecated. |
Method Summary | |
---|---|
void |
reduce(K key,
java.util.Iterator<V> values,
OutputCollector<K,V> output,
Reporter reporter)
Deprecated. Writes all keys and values directly to output. |
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase |
---|
close, configure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable |
---|
configure |
Methods inherited from interface java.io.Closeable |
---|
close |
Constructor Detail |
---|
public IdentityReducer()
Method Detail |
---|
public void reduce(K key, java.util.Iterator<V> values, OutputCollector<K,V> output, Reporter reporter) throws java.io.IOException
reduce
in interface Reducer<K,V,K,V>
key
- the key.values
- the list of values to reduce.output
- to collect keys and combined values.reporter
- facility to report progress.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |