de.hpi.fgis.voidgen.hadoop.tasks.datasetdescription
Class ClusterSizeAdapter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,Description>
      extended by de.hpi.fgis.voidgen.hadoop.tasks.datasetdescription.ClusterSizeAdapter

public class ClusterSizeAdapter
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable,org.apache.hadoop.io.Text,Description>

Adapts the output of the ClusterSizeDriver to the VoID description input. TODO

Input

Output

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
ClusterSizeAdapter()
           
 
Method Summary
 void map(org.apache.hadoop.io.Text key, org.apache.hadoop.io.IntWritable 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

ClusterSizeAdapter

public ClusterSizeAdapter()
Method Detail

map

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