限定符和类型 | 类和说明 |
---|---|
static class |
SecondarySort.MapClass
Read two integers from each line and generate a key, value pair
as ((left, right), right).
|
static class |
WordCount.TokenizerMapper |
限定符和类型 | 方法和说明 |
---|---|
Class<? extends Mapper<?,?,?,?>> |
JobContext.getMapperClass()
Get the
Mapper class for the job. |
限定符和类型 | 方法和说明 |
---|---|
void |
Job.setMapperClass(Class<? extends Mapper> cls)
Set the
Mapper for the job. |
限定符和类型 | 类和说明 |
---|---|
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
DelegatingMapper<K1,V1,K2,V2>
An
Mapper that delegates behavior of paths to multiple other
mappers. |
限定符和类型 | 方法和说明 |
---|---|
static void |
MultipleInputs.addInputPath(Job job,
Path path,
Class<? extends InputFormat> inputFormatClass,
Class<? extends Mapper> mapperClass)
|
限定符和类型 | 类和说明 |
---|---|
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 |
TokenCounterMapper
Tokenize the input values and emit each word with a count of 1.
|
限定符和类型 | 方法和说明 |
---|---|
static <K1,V1,K2,V2> |
MultithreadedMapper.getMapperClass(JobContext job)
Get the application's mapper class.
|
限定符和类型 | 方法和说明 |
---|---|
static <K1,V1,K2,V2> |
MultithreadedMapper.setMapperClass(Job job,
Class<? extends Mapper<K1,V1,K2,V2>> cls)
Set the application's mapper class.
|
限定符和类型 | 类和说明 |
---|---|
class |
CopyMapper
Mapper class that executes the DistCp copy operation.
|
Copyright © 2009 The Apache Software Foundation