de.hpi.fgis.voidgen.hadoop.closure
Class Step1Mapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,Step1Pair,ClusterId>
de.hpi.fgis.voidgen.hadoop.closure.Step1MapperBase<CloneableText,CloneableText>
de.hpi.fgis.voidgen.hadoop.closure.Step1Mapper
public class Step1Mapper
- extends Step1MapperBase<CloneableText,CloneableText>
Assigns the initial cluster identifier to each
vertex of the graph.
Input
- Key: textual representation of one vertex of an edge
- Value: textual representation of the other vertex of the edge
Output see Step1MapperBase
- Author:
- Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Step1Mapper
public Step1Mapper()
map
public void map(CloneableText key,
CloneableText value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
map
in class org.apache.hadoop.mapreduce.Mapper<CloneableText,CloneableText,Step1Pair,ClusterId>
- Throws:
java.io.IOException
java.lang.InterruptedException