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