Class FastqRecordWriter


  • public class FastqRecordWriter
    extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
    This class define a RecordWriter for FASTQ files.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • FastqRecordWriter

        public FastqRecordWriter​(org.apache.hadoop.mapreduce.TaskAttemptContext context,
                                 DataOutputStream out)
        Public constructor.
        Parameters:
        context - the context
        out - data output stream
    • Method Detail

      • write

        public void write​(org.apache.hadoop.io.Text key,
                          org.apache.hadoop.io.Text value)
                   throws IOException
        Specified by:
        write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
        Throws:
        IOException
      • close

        public void close​(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                   throws IOException
        Specified by:
        close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
        Throws:
        IOException