org.apache.nutch.segment
Class SegmentReader.InputCompatMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by org.apache.nutch.segment.SegmentReader.InputCompatMapper
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper<WritableComparable,Writable,Text,NutchWritable>
Enclosing class:
SegmentReader

public static class SegmentReader.InputCompatMapper
extends MapReduceBase
implements Mapper<WritableComparable,Writable,Text,NutchWritable>


Constructor Summary
SegmentReader.InputCompatMapper()
           
 
Method Summary
 void map(WritableComparable key, Writable value, OutputCollector<Text,NutchWritable> collector, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

SegmentReader.InputCompatMapper

public SegmentReader.InputCompatMapper()
Method Detail

map

public void map(WritableComparable key,
                Writable value,
                OutputCollector<Text,NutchWritable> collector,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<WritableComparable,Writable,Text,NutchWritable>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation