public class MapperWrapper<KeyIn,ValueIn,KeyOut,ValueOut> extends SmartMapper<KeyIn,ValueIn,KeyOut,ValueOut>
| Constructor and Description |
|---|
MapperWrapper(org.apache.hadoop.mapreduce.Mapper<KeyIn,ValueIn,KeyOut,ValueOut> mapper,
Class<KeyIn> keyIn,
Class<ValueIn> valueIn,
Class<KeyOut> keyOut,
Class<ValueOut> valueOut) |
| Modifier and Type | Method and Description |
|---|---|
Class<KeyIn> |
getKeyInType() |
Class<KeyOut> |
getKeyOutType() |
Class<ValueIn> |
getValueInType() |
Class<ValueOut> |
getValueOutType() |
void |
run(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void run(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
run in class org.apache.hadoop.mapreduce.Mapper<KeyIn,ValueIn,KeyOut,ValueOut>IOExceptionInterruptedExceptionCopyright © 2020. All rights reserved.