org.apache.nutch.tools
Class FreeGenerator.FG

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by org.apache.nutch.tools.FreeGenerator.FG
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper, Reducer
Enclosing class:
FreeGenerator

public static class FreeGenerator.FG
extends MapReduceBase
implements Mapper, Reducer


Constructor Summary
FreeGenerator.FG()
           
 
Method Summary
 void configure(JobConf job)
           
 void map(WritableComparable key, Writable value, OutputCollector output, Reporter reporter)
           
 void reduce(WritableComparable key, Iterator values, OutputCollector output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
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.io.Closeable
close
 
Methods inherited from interface org.apache.hadoop.io.Closeable
close
 

Constructor Detail

FreeGenerator.FG

public FreeGenerator.FG()
Method Detail

configure

public void configure(JobConf job)
Specified by:
configure in interface JobConfigurable
Overrides:
configure in class MapReduceBase

map

public void map(WritableComparable key,
                Writable value,
                OutputCollector output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper
Throws:
IOException

reduce

public void reduce(WritableComparable key,
                   Iterator values,
                   OutputCollector output,
                   Reporter reporter)
            throws IOException
Specified by:
reduce in interface Reducer
Throws:
IOException


Copyright © 2006 The Apache Software Foundation