Class SAMRecordWriter


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

      • SAMRecordWriter

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

      • 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