public static class WordCount.Tokenizer
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>
| Constructor and Description |
|---|
Tokenizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text data,
org.apache.hadoop.mapreduce.Mapper.Context context) |
public void map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text data,
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.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.IntWritable>IOExceptionInterruptedExceptionCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.