de.hpi.fgis.voidgen.hadoop.closure
Class Step2Reducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<Step2Pair,NodeXOrId,ClusterId,NodeXOrId>
de.hpi.fgis.voidgen.hadoop.closure.Step2Reducer
public class Step2Reducer
- extends org.apache.hadoop.mapreduce.Reducer<Step2Pair,NodeXOrId,ClusterId,NodeXOrId>
The reducer for merging clusters together which
describe the same cluster.
- Author:
- Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer |
org.apache.hadoop.mapreduce.Reducer.Context |
Method Summary |
void |
reduce(Step2Pair key,
java.lang.Iterable<NodeXOrId> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
cleanup, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Step2Reducer
public Step2Reducer()
setup
public void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
- Overrides:
setup
in class org.apache.hadoop.mapreduce.Reducer<Step2Pair,NodeXOrId,ClusterId,NodeXOrId>
reduce
public void reduce(Step2Pair key,
java.lang.Iterable<NodeXOrId> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
reduce
in class org.apache.hadoop.mapreduce.Reducer<Step2Pair,NodeXOrId,ClusterId,NodeXOrId>
- Throws:
java.io.IOException
java.lang.InterruptedException