Mapper.Context| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP |
static String |
PATTERN |
| Constructor and Description |
|---|
RegexMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(K key,
org.apache.hadoop.io.Text value,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
void |
setup(Mapper.Context context)
Called once at the beginning of the task.
|
public void setup(Mapper.Context context)
Mapperpublic void map(K key, org.apache.hadoop.io.Text value, Mapper.Context context) throws IOException, InterruptedException
Mappermap in class Mapper<K,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.