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)
Mapperpublic void map(K key, org.apache.hadoop.io.Text value, Mapper.Context context) throws java.io.IOException, java.lang.InterruptedException
MapperCopyright © 2009 The Apache Software Foundation