@InterfaceAudience.Public @InterfaceStability.Stable public class FieldSelectionMapper<K,V> extends Mapper<K,V,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Mapper.Context| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
FieldSelectionMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(K key,
V val,
Mapper.Context context)
The identify function.
|
void |
setup(Mapper.Context context)
Called once at the beginning of the task.
|
public void setup(Mapper.Context context) throws IOException, InterruptedException
Mappersetup in class Mapper<K,V,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionpublic void map(K key, V val, Mapper.Context context) throws IOException, InterruptedException
map in class Mapper<K,V,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionInterruptedExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.