@InterfaceAudience.Public @InterfaceStability.Stable public class FieldSelectionMapper<K,V> extends Mapper<K,V,Text,Text>
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,
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 static final org.apache.commons.logging.Log LOG
public FieldSelectionMapper()
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 © 2017 Apache Software Foundation. All rights reserved.