protected static class CrawlDbReader.CrawlDatumJsonOutputFormat.LineRecordWriter extends RecordWriter<Text,CrawlDatum>
Constructor and Description |
---|
LineRecordWriter(DataOutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close(TaskAttemptContext context) |
void |
write(Text key,
CrawlDatum value) |
public LineRecordWriter(DataOutputStream out)
public void write(Text key, CrawlDatum value) throws IOException
write
in class RecordWriter<Text,CrawlDatum>
IOException
public void close(TaskAttemptContext context) throws IOException
close
in class RecordWriter<Text,CrawlDatum>
IOException
Copyright © 2021 The Apache Software Foundation