@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
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 © 2018 Apache Software Foundation. All rights reserved.