p2pMapReduce.mapreduceModule
Class WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

java.lang.Object
  extended by p2pMapReduce.mapreduceModule.Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
      extended by p2pMapReduce.mapreduceModule.WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

public class WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
extends Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>

A Mapper which wraps a given one to allow custom WrappedMapper.Context implementations.


Nested Class Summary
 class WrappedMapper.Context
           
 
Constructor Summary
WrappedMapper()
           
 
Method Summary
 Mapper.Context getMapContext(MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> mapContext)
          Get a wrapped WrappedMapper.Context for custom implementations.
 
Methods inherited from class p2pMapReduce.mapreduceModule.Mapper
cleanup, map, run, setup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedMapper

public WrappedMapper()
Method Detail

getMapContext

public Mapper.Context getMapContext(MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> mapContext)
Get a wrapped WrappedMapper.Context for custom implementations.

Parameters:
mapContext - MapContext to be wrapped
Returns:
a wrapped Mapper.Context for custom implementations