org.apache.nutch.crawl

## Class CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter

- java.lang.Object
- - org.apache.hadoop.mapreduce.RecordWriter<Text,CrawlDatum>
  - - org.apache.nutch.crawl.CrawlDbReader.CrawlDatumCsvOutputFormat.LineRecordWriter

- Enclosing class:
    CrawlDbReader.CrawlDatumCsvOutputFormat

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LineRecordWriter(java.io.DataOutputStream out)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close(TaskAttemptContext context)`
    `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

    - #### LineRecordWriter

          public LineRecordWriter(java.io.DataOutputStream out)

  - ### Method Detail

    - #### write

          public void write(Text key,
                            CrawlDatum value)
                     throws java.io.IOException

      Specified by:
        `write` in class `RecordWriter<Text,CrawlDatum>`
      Throws:
        `java.io.IOException`

    - #### close

          public void close(TaskAttemptContext context)
                     throws java.io.IOException

      Specified by:
        `close` in class `RecordWriter<Text,CrawlDatum>`
      Throws:
        `java.io.IOException`

Copyright © 2019 The Apache Software Foundation