[TOC]

org.apache.nutch.crawl

Class Generator.SelectorInverseMapper

  • java.lang.Object
    • org.apache.hadoop.mapred.MapReduceBase
    • org.apache.nutch.crawl.Generator.SelectorInverseMapper
    • All Implemented Interfaces:
    • Closeable, AutoCloseable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper
    • Enclosing class:
    • Generator

public static class Generator.SelectorInverseMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.FloatWritable,Generator.SelectorEntry,org.apache.hadoop.io.Text,Generator.SelectorEntry>

Constructor Summary

Constructors Constructor and Description Generator.SelectorInverseMapper()

Method Summary

Methods Modifier and Type Method and Description void map(org.apache.hadoop.io.FloatWritable key, Generator.SelectorEntry value, org.apache.hadoop.mapred.OutputCollector output, org.apache.hadoop.mapred.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

-  

Generator.SelectorInverseMapper

public Generator.SelectorInverseMapper()

Method Detail

-  

map

public void map(org.apache.hadoop.io.FloatWritable key,
       Generator.SelectorEntry value,
       org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,Generator.SelectorEntry> output,
       org.apache.hadoop.mapred.Reporter reporter)
         throws IOException
  - Specified by: 
  - <code>map</code> in interface <code>org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.floatwritable,generator.selectorentry,org.apache.hadoop.io.text,generator.selectorentry></org.apache.hadoop.io.floatwritable,generator.selectorentry,org.apache.hadoop.io.text,generator.selectorentry></code> 
  - Throws: 
  - <code>IOException</code>      

Copyright © 2014 The Apache Software Foundation