public class MapperWrapper<KeyIn,ValueIn,KeyOut,ValueOut> extends Object implements SmartMapper<KeyIn,ValueIn,KeyOut,ValueOut>
| Constructor and Description |
|---|
MapperWrapper(org.apache.hadoop.mapred.Mapper<KeyIn,ValueIn,KeyOut,ValueOut> mapper,
Class<KeyIn> keyIn,
Class<ValueIn> valueIn,
Class<KeyOut> keyOut,
Class<ValueOut> valueOut) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.hadoop.mapred.JobConf arg0) |
Class<KeyIn> |
getKeyInType() |
Class<KeyOut> |
getKeyOutType() |
Class<ValueIn> |
getValueInType() |
Class<ValueOut> |
getValueOutType() |
void |
map(KeyIn arg0,
ValueIn arg1,
org.apache.hadoop.mapred.OutputCollector<KeyOut,ValueOut> arg2,
org.apache.hadoop.mapred.Reporter arg3) |
public void map(KeyIn arg0, ValueIn arg1, org.apache.hadoop.mapred.OutputCollector<KeyOut,ValueOut> arg2, org.apache.hadoop.mapred.Reporter arg3) throws IOException
map in interface org.apache.hadoop.mapred.Mapper<KeyIn,ValueIn,KeyOut,ValueOut>IOExceptionpublic void configure(org.apache.hadoop.mapred.JobConf arg0)
configure in interface org.apache.hadoop.mapred.JobConfigurablepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.