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

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

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

Identity Mapper for cluster identifier as keys and cluster descriptions as values.

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

DescriptionAggregationMapper

public DescriptionAggregationMapper()
Method Detail

map

public void map(org.apache.hadoop.io.Text key,
                Description 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,Description,org.apache.hadoop.io.Text,Description>
Throws:
java.io.IOException
java.lang.InterruptedException