de.kumpe.hadooptimizer.hadoop
Class EvaluateIndividualMapper<I>

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.DoubleWritable,I,org.apache.hadoop.io.DoubleWritable,I>
      extended by de.kumpe.hadooptimizer.hadoop.MapperWithOptimizerConfiguration<I>
          extended by de.kumpe.hadooptimizer.hadoop.EvaluateIndividualMapper<I>
Type Parameters:
I - the individuals' type

public final class EvaluateIndividualMapper<I>
extends MapperWithOptimizerConfiguration<I>

A Mapper which evaluates given individuals and outputs evaluation/individual pairs.

Author:
Christian Kumpe

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Field Summary
 
Fields inherited from class de.kumpe.hadooptimizer.hadoop.MapperWithOptimizerConfiguration
configuration
 
Constructor Summary
EvaluateIndividualMapper()
           
 
Method Summary
protected  void map(org.apache.hadoop.io.DoubleWritable key, I value, org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class de.kumpe.hadooptimizer.hadoop.MapperWithOptimizerConfiguration
setup
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluateIndividualMapper

public EvaluateIndividualMapper()
Method Detail

map

protected void map(org.apache.hadoop.io.DoubleWritable key,
                   I value,
                   org.apache.hadoop.mapreduce.Mapper.Context context)
            throws IOException,
                   InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.DoubleWritable,I,org.apache.hadoop.io.DoubleWritable,I>
Throws:
IOException
InterruptedException


Copyright © 2011 Christian Kumpe. All Rights Reserved.