public static class CountWordsAcrossTimeperiod.Map extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
Constructor and Description |
---|
Map()
Mapper constructor doesn't do anything (Mapper constructor doesn't
give a fuck)
|
Modifier and Type | Method and Description |
---|---|
protected static void |
loadOptions(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.BytesWritable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public Map()
protected static void loadOptions(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
IOException
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException
protected void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.BytesWritable value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable>
IOException
InterruptedException