|
|||||||||||
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
Mappper class for Copying files.
Constructor Summary | |
CopyFiles.CopyFilesMapper()
|
Method Summary | |
void |
close()
Called after the last call to any other method on this object to free and/or flush resources. |
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
public void map(WritableComparable key, Writable val, OutputCollector out, Reporter reporter) throws IOException
map
in interface Mapper
key
- source file nameout
- not-used.val
- the values
IOException
public void close()
Closeable
close
in interface Closeable
close
in class MapReduceBase
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |