Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.map |
Modifier and Type | Class and Description |
---|---|
static class |
SecondarySort.MapClass
Read two integers from each line and generate a key, value pair
as ((left, right), right).
|
static class |
WordCount.TokenizerMapper |
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 |
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.
|
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 © 2010 The Apache Software Foundation