|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.MapReduceBase
org.apache.hadoop.examples.PiEstimator.PiMapper
public static class PiEstimator.PiMapper
Mappper class for Pi estimation.
| Constructor Summary | |
|---|---|
PiEstimator.PiMapper()
|
|
| Method Summary | |
|---|---|
void |
close()
Default implementation that does nothing. |
void |
configure(JobConf job)
Mapper configuration. |
void |
map(LongWritable key,
Writable val,
OutputCollector<LongWritable,LongWritable> out,
Reporter reporter)
Map method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PiEstimator.PiMapper()
| Method Detail |
|---|
public void configure(JobConf job)
configure in interface JobConfigurableconfigure in class MapReduceBasejob - the configuration
public void map(LongWritable key,
Writable val,
OutputCollector<LongWritable,LongWritable> out,
Reporter reporter)
throws IOException
map in interface Mapper<LongWritable,Writable,LongWritable,LongWritable>key - val - not-usedout - reporter -
IOExceptionpublic void close()
MapReduceBase
close in interface Closeableclose in class MapReduceBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||