org.apache.nutch.indexer
Class IndexerOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapreduce.OutputFormat<String,NutchDocument>
      extended by org.apache.nutch.indexer.IndexerOutputFormat

public class IndexerOutputFormat
extends org.apache.hadoop.mapreduce.OutputFormat<String,NutchDocument>


Constructor Summary
IndexerOutputFormat()
           
 
Method Summary
 void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext jobContext)
           
 org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext arg0)
           
 org.apache.hadoop.mapreduce.RecordWriter<String,NutchDocument> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexerOutputFormat

public IndexerOutputFormat()
Method Detail

getRecordWriter

public org.apache.hadoop.mapreduce.RecordWriter<String,NutchDocument> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext job)
                                                                               throws IOException,
                                                                                      InterruptedException
Specified by:
getRecordWriter in class org.apache.hadoop.mapreduce.OutputFormat<String,NutchDocument>
Throws:
IOException
InterruptedException

checkOutputSpecs

public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext jobContext)
                      throws IOException,
                             InterruptedException
Specified by:
checkOutputSpecs in class org.apache.hadoop.mapreduce.OutputFormat<String,NutchDocument>
Throws:
IOException
InterruptedException

getOutputCommitter

public org.apache.hadoop.mapreduce.OutputCommitter getOutputCommitter(org.apache.hadoop.mapreduce.TaskAttemptContext arg0)
                                                               throws IOException,
                                                                      InterruptedException
Specified by:
getOutputCommitter in class org.apache.hadoop.mapreduce.OutputFormat<String,NutchDocument>
Throws:
IOException
InterruptedException


Copyright © 2013 The Apache Software Foundation