protected static class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter extends Object implements org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>
| Constructor and Description |
|---|
CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter(DataOutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapred.Reporter reporter) |
void |
write(org.apache.hadoop.io.Text key,
CrawlDatum value) |
public CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter(DataOutputStream out)
public void write(org.apache.hadoop.io.Text key,
CrawlDatum value)
throws IOException
write in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>IOExceptionpublic void close(org.apache.hadoop.mapred.Reporter reporter)
throws IOException
close in interface org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.Text,CrawlDatum>IOExceptionCopyright © 2014 The Apache Software Foundation