|
||||||||||
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.util.CopyFiles.CopyFilesMapper
public static class CopyFiles.CopyFilesMapper
Mappper class for Copying files.
Constructor Summary | |
---|---|
CopyFiles.CopyFilesMapper()
|
Method Summary | |
---|---|
void |
close()
Default implementation that does nothing. |
void |
configure(JobConf job)
Mapper configuration. |
void |
map(WritableComparable key,
Writable val,
OutputCollector 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 CopyFiles.CopyFilesMapper()
Method Detail |
---|
public void configure(JobConf job)
configure
in interface JobConfigurable
configure
in class MapReduceBase
job
- the configurationpublic void map(WritableComparable key, Writable val, OutputCollector out, Reporter reporter) throws IOException
map
in interface Mapper
key
- source file namevalue
- not-used.out
- not-used.
IOException
public void close()
MapReduceBase
close
in interface Closeable
close
in class MapReduceBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |