| Modifier and Type | Method and Description | 
|---|---|
Class<? extends Mapper<?,?,?,?>> | 
JobContext.getMapperClass()
Get the  
Mapper class for the job. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Job.setMapperClass(Class<? extends Mapper> cls)
Set the  
Mapper for the job. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ValueAggregatorMapper<K1 extends WritableComparable<?>,V1 extends Writable>
This class implements the generic mapper of Aggregate. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ChainMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
The ChainMapper class allows to use multiple Mapper classes within a single
 Map task. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
ChainMapper.addMapper(Job job,
                  Class<? extends Mapper> klass,
                  Class<?> inputKeyClass,
                  Class<?> inputValueClass,
                  Class<?> outputKeyClass,
                  Class<?> outputValueClass,
                  Configuration mapperConf)
Adds a  
Mapper class to the chain mapper. | 
static void | 
ChainReducer.addMapper(Job job,
                  Class<? extends Mapper> klass,
                  Class<?> inputKeyClass,
                  Class<?> inputValueClass,
                  Class<?> outputKeyClass,
                  Class<?> outputValueClass,
                  Configuration mapperConf)
Adds a  
Mapper class to the chain reducer. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
FieldSelectionMapper<K,V>
This class implements a mapper class that can be used to perform
 field selections in a manner similar to unix cut. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
MultipleInputs.addInputPath(Job job,
                        Path path,
                        Class<? extends InputFormat> inputFormatClass,
                        Class<? extends Mapper> mapperClass)
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
InverseMapper<K,V>
A  
Mapper that swaps keys and values. | 
class  | 
MultithreadedMapper<K1,V1,K2,V2>
Multithreaded implementation for @link org.apache.hadoop.mapreduce.Mapper. 
 | 
class  | 
RegexMapper<K>
A  
Mapper that extracts text matching a regular expression. | 
class  | 
TokenCounterMapper
Tokenize the input values and emit each word with a count of 1. 
 | 
class  | 
WrappedMapper<KEYIN,VALUEIN,KEYOUT,VALUEOUT>
A  
Mapper which wraps a given one to allow custom 
 Mapper.Context implementations. | 
| Modifier and Type | Method and Description | 
|---|---|
static <K1,V1,K2,V2>  | 
MultithreadedMapper.getMapperClass(JobContext job)
Get the application's mapper class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static <K1,V1,K2,V2>  | 
MultithreadedMapper.setMapperClass(Job job,
                            Class<? extends Mapper<K1,V1,K2,V2>> cls)
Set the application's mapper class. 
 | 
Copyright © 2016 Apache Software Foundation. All Rights Reserved.