Mapper.Context
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP |
static java.lang.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 static java.lang.String PATTERN
public static java.lang.String GROUP
public void setup(Mapper.Context context)
Mapper
public void map(K key, org.apache.hadoop.io.Text value, Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
Mapper
Copyright © 2009 The Apache Software Foundation