@InterfaceAudience.Public @InterfaceStability.Evolving public class WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT> extends Mapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
Mapper
which wraps a given one to allow custom
Mapper.Context
implementations.Constructor and Description |
---|
WrappedMapper() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Mapper.Context |
getMapContext(MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> mapContext)
Get a wrapped
Mapper.Context for custom implementations. |
public WrappedMapper()
public org.apache.hadoop.mapreduce.Mapper.Context getMapContext(MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> mapContext)
Mapper.Context
for custom implementations.mapContext
- MapContext
to be wrappedMapper.Context
for custom implementationsCopyright © 2017 Apache Software Foundation. All rights reserved.