de.hpi.fgis.voidgen.hadoop.closure
Class Step1Mapper

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,Step1Pair,ClusterId>
      extended by de.hpi.fgis.voidgen.hadoop.closure.Step1MapperBase<CloneableText,CloneableText>
          extended by 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

Output see Step1MapperBase

Author:
Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
Step1Mapper()
           
 
Method Summary
 void map(CloneableText key, CloneableText value, org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class de.hpi.fgis.voidgen.hadoop.closure.Step1MapperBase
newClusterId
 
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
 

Constructor Detail

Step1Mapper

public Step1Mapper()
Method Detail

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