@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
Mapper
setup
in class Mapper<K,V,Text,Text>
IOException
InterruptedException
public void map(K key, V val, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class Mapper<K,V,Text,Text>
IOException
InterruptedException
Copyright © 2018 Apache Software Foundation. All rights reserved.