public class KeyIgnoringBAMRecordWriter<K> extends BAMRecordWriter<K>
The write function ignores the key, just outputting the SAMRecord.
| Constructor and Description |
|---|
KeyIgnoringBAMRecordWriter(OutputStream output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader)
Deprecated.
This constructor has no
TaskAttemptContext so it is not
possible to pass configuration properties to the writer. |
KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(K ignored,
SAMRecordWritable rec) |
close, writeAlignmentpublic KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
org.apache.hadoop.fs.Path input,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOExceptionpublic KeyIgnoringBAMRecordWriter(org.apache.hadoop.fs.Path output,
htsjdk.samtools.SAMFileHeader header,
boolean writeHeader,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
IOException@Deprecated public KeyIgnoringBAMRecordWriter(OutputStream output, htsjdk.samtools.SAMFileHeader header, boolean writeHeader) throws IOException
TaskAttemptContext so it is not
possible to pass configuration properties to the writer.IOExceptionpublic void write(K ignored, SAMRecordWritable rec) throws IOException
write in class org.apache.hadoop.mapreduce.RecordWriter<K,SAMRecordWritable>IOExceptionCopyright © 2017. All rights reserved.