[TOC]
org.apache.nutch.indexer
Class CleaningJob.DeleterReducer
- java.lang.Object
- org.apache.nutch.indexer.CleaningJob.DeleterReducer
- All Implemented Interfaces:
- Closeable, AutoCloseable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Reducer
- Enclosing class:
- CleaningJob
public static class CleaningJob.DeleterReducer extends Object implements org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.ByteWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.ByteWritable>
Constructor Summary
Constructors Constructor and Description CleaningJob.DeleterReducer()
Method Summary
Methods Modifier and Type Method and Description void
close()
void
configure(org.apache.hadoop.mapred.JobConf job)
void
reduce(org.apache.hadoop.io.ByteWritable key,
Iterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
-
CleaningJob.DeleterReducer
public CleaningJob.DeleterReducer()
Method Detail
-
configure
public void configure(org.apache.hadoop.mapred.JobConf job)
- Specified by:
- <code>configure</code> in interface <code>org.apache.hadoop.mapred.JobConfigurable</code>
-
close
public void close() throws IOException
- Specified by:
- <code>close</code> in interface <code>Closeable</code>
- Specified by:
- <code>close</code> in interface <code>AutoCloseable</code>
- Throws:
- <code>IOException</code>
-
reduce
public void reduce(org.apache.hadoop.io.ByteWritable key, Iterator<org.apache.hadoop.io.Text> values, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.Text,org.apache.hadoop.io.ByteWritable> output, org.apache.hadoop.mapred.Reporter reporter) throws IOException
- Specified by:
- <code>reduce</code> in interface <code>org.apache.hadoop.mapred.Reducer<org.apache.hadoop.io.bytewritable,org.apache.hadoop.io.text,org.apache.hadoop.io.text,org.apache.hadoop.io.bytewritable></org.apache.hadoop.io.bytewritable,org.apache.hadoop.io.text,org.apache.hadoop.io.text,org.apache.hadoop.io.bytewritable></code>
- Throws:
- <code>IOException</code>