org.apache.nutch.crawl
Class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
java.lang.Object
org.apache.nutch.crawl.CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
- All Implemented Interfaces:
- org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>
- Enclosing class:
- CrawlDbReader.CrawlDatumCsvOutputFormat
protected static class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
- extends Object
- implements org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>
Method Summary |
void |
close(org.apache.hadoop.mapred.Reporter reporter)
|
void |
write(org.apache.hadoop.io.Text key,
CrawlDatum value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter
public CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter(DataOutputStream out)
write
public void write(org.apache.hadoop.io.Text key,
CrawlDatum value)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>
- Throws:
IOException
close
public void close(org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Specified by:
close
in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation