org.apache.nutch.crawl
Class CrawlDbReader.CrawlDatumCsvOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<Text,CrawlDatum>
      extended by org.apache.nutch.crawl.CrawlDbReader.CrawlDatumCsvOutputFormat
All Implemented Interfaces:
OutputFormat<Text,CrawlDatum>
Enclosing class:
CrawlDbReader

public static class CrawlDbReader.CrawlDatumCsvOutputFormat
extends FileOutputFormat<Text,CrawlDatum>


Nested Class Summary
protected static class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
           
 
Constructor Summary
CrawlDbReader.CrawlDatumCsvOutputFormat()
           
 
Method Summary
 RecordWriter<Text,CrawlDatum> getRecordWriter(FileSystem fs, JobConf job, String name, Progressable progress)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlDbReader.CrawlDatumCsvOutputFormat

public CrawlDbReader.CrawlDatumCsvOutputFormat()
Method Detail

getRecordWriter

public RecordWriter<Text,CrawlDatum> getRecordWriter(FileSystem fs,
                                                     JobConf job,
                                                     String name,
                                                     Progressable progress)
                                              throws IOException
Specified by:
getRecordWriter in interface OutputFormat<Text,CrawlDatum>
Specified by:
getRecordWriter in class FileOutputFormat<Text,CrawlDatum>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation