org.apache.nutch.crawl
Class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter

java.lang.Object
  extended by org.apache.nutch.crawl.CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
All Implemented Interfaces:
RecordWriter<Text,CrawlDatum>
Enclosing class:
CrawlDbReader.CrawlDatumCsvOutputFormat

protected static class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
extends Object
implements RecordWriter<Text,CrawlDatum>


Constructor Summary
CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter(DataOutputStream out)
           
 
Method Summary
 void close(Reporter reporter)
           
 void write(Text key, CrawlDatum value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter

public CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter(DataOutputStream out)
Method Detail

write

public void write(Text key,
                  CrawlDatum value)
           throws IOException
Specified by:
write in interface RecordWriter<Text,CrawlDatum>
Throws:
IOException

close

public void close(Reporter reporter)
           throws IOException
Specified by:
close in interface RecordWriter<Text,CrawlDatum>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation