Class MapperWrapper<KeyIn,ValueIn,KeyOut,ValueOut>
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<KeyIn,ValueIn,KeyOut,ValueOut>
org.approvaltests.hadoop.version1.SmartMapper<KeyIn,ValueIn,KeyOut,ValueOut>
org.approvaltests.hadoop.version1.MapperWrapper<KeyIn,ValueIn,KeyOut,ValueOut>
- All Implemented Interfaces:
Transform<KeyIn,ValueIn,KeyOut,ValueOut>
public class MapperWrapper<KeyIn,ValueIn,KeyOut,ValueOut> extends SmartMapper<KeyIn,ValueIn,KeyOut,ValueOut>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Class<KeyIn>getKeyInType()Class<KeyOut>getKeyOutType()Class<ValueIn>getValueInType()Class<ValueOut>getValueOutType()voidrun(org.apache.hadoop.mapreduce.Mapper.Context context)Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, map, setup
-
Constructor Details
-
MapperWrapper
-
-
Method Details
-
getKeyInType
-
getValueInType
-
getKeyOutType
-
getValueOutType
-
run
public void run(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException- Overrides:
runin classorg.apache.hadoop.mapreduce.Mapper<KeyIn,ValueIn,KeyOut,ValueOut>- Throws:
IOExceptionInterruptedException
-