This project has retired. For details please refer to its
Attic page.
CrunchReducer (Apache Crunch 0.9.0 API)
org.apache.crunch.impl.mr.run
Class CrunchReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<Object,Object,Object,Object>
org.apache.crunch.impl.mr.run.CrunchReducer
- Direct Known Subclasses:
- CrunchCombiner
public class CrunchReducer
- extends org.apache.hadoop.mapreduce.Reducer<Object,Object,Object,Object>
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer |
org.apache.hadoop.mapreduce.Reducer.Context |
Method Summary |
protected void |
cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
|
protected NodeContext |
getNodeContext()
|
protected void |
reduce(Object key,
Iterable<Object> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrunchReducer
public CrunchReducer()
getNodeContext
protected NodeContext getNodeContext()
setup
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
- Overrides:
setup
in class org.apache.hadoop.mapreduce.Reducer<Object,Object,Object,Object>
reduce
protected void reduce(Object key,
Iterable<Object> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
- Overrides:
reduce
in class org.apache.hadoop.mapreduce.Reducer<Object,Object,Object,Object>
cleanup
protected void cleanup(org.apache.hadoop.mapreduce.Reducer.Context context)
- Overrides:
cleanup
in class org.apache.hadoop.mapreduce.Reducer<Object,Object,Object,Object>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.