Mapper.Context
Constructor and Description |
---|
WordMean.WordMeanMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(Object key,
Text value,
Mapper.Context context)
Emits 2 key-value pairs for counting the word and its length.
|
public void map(Object key, Text value, Mapper.Context context) throws IOException, InterruptedException
map
in class Mapper<Object,Text,Text,LongWritable>
value
- This will be a line of text coming in from our input file.IOException
InterruptedException
Copyright © 2013 Apache Software Foundation. All rights reserved.