org.apache.hadoop.mapreduce.lib.map
Class WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
org.apache.hadoop.mapreduce.lib.map.WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
@InterfaceAudience.Public
@InterfaceStability.Evolving
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrappedMapper
public WrappedMapper()
getMapContext
public org.apache.hadoop.mapreduce.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
Copyright © 2014 Apache Software Foundation. All Rights Reserved.