Mapper.Context| 构造器和说明 |
|---|
WordCount.TokenizerMapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
map(Object key,
Text value,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
public void map(Object key, Text value, Mapper.Context context) throws IOException, InterruptedException
Mappermap 在类中 Mapper<Object,Text,Text,IntWritable>IOExceptionInterruptedExceptionCopyright © 2009 The Apache Software Foundation