Package | Description |
---|---|
org.apache.hadoop.examples |
Hadoop example code.
|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.fieldsel | |
org.apache.hadoop.mapreduce.lib.input | |
org.apache.hadoop.mapreduce.lib.map | |
org.apache.hadoop.mapreduce.lib.reduce | |
org.apache.hadoop.mapreduce.task |
Modifier and Type | Class and Description |
---|---|
static class |
MultiFileWordCount.MapClass
This Mapper is similar to the one in
WordCount.MapClass . |
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 |
---|---|
java.lang.Class<? extends Mapper<?,?,?,?>> |
JobContext.getMapperClass()
Get the
Mapper class for the job. |
Modifier and Type | Method and Description |
---|---|
void |
Job.setMapperClass(java.lang.Class<? extends Mapper> cls)
Set the
Mapper for the job. |
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 | Class and Description |
---|---|
class |
DelegatingMapper<K1,V1,K2,V2>
An
Mapper that delegates behavior of paths to multiple other
mappers. |
Modifier and Type | Method and Description |
---|---|
static void |
MultipleInputs.addInputPath(Job job,
org.apache.hadoop.fs.Path path,
java.lang.Class<? extends InputFormat> inputFormatClass,
java.lang.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 |
---|---|
java.lang.Class<? extends Mapper<?,?,?,?>> |
WrappedMapper.Context.getMapperClass() |
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,
java.lang.Class<? extends Mapper<K1,V1,K2,V2>> cls)
Set the application's mapper class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Mapper<?,?,?,?>> |
WrappedReducer.Context.getMapperClass() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Mapper<?,?,?,?>> |
JobContextImpl.getMapperClass()
Get the
Mapper class for the job. |
Copyright © 2009 The Apache Software Foundation