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

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<ClusterId,NodeXOrId,Step2Pair,NodeXOrId>
      extended by de.hpi.fgis.voidgen.hadoop.closure.Step2Mapper

public class Step2Mapper
extends org.apache.hadoop.mapreduce.Mapper<ClusterId,NodeXOrId,Step2Pair,NodeXOrId>

Prepares key and value for secondary sort.

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
Step2Mapper()
           
 
Method Summary
 void map(ClusterId key, NodeXOrId value, org.apache.hadoop.mapreduce.Mapper.Context 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
 

Constructor Detail

Step2Mapper

public Step2Mapper()
Method Detail

map

public void map(ClusterId key,
                NodeXOrId value,
                org.apache.hadoop.mapreduce.Mapper.Context context)
         throws java.io.IOException,
                java.lang.InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<ClusterId,NodeXOrId,Step2Pair,NodeXOrId>
Throws:
java.io.IOException
java.lang.InterruptedException