public class SAMInputFormat extends org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.LongWritable,SAMRecordWritable>
InputFormat for SAM files. Values
are the individual records; see BAMRecordReader for the meaning of
the key.| Constructor and Description |
|---|
SAMInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,SAMRecordWritable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
Returns a
SAMRecordReader initialized with the parameters. |
boolean |
isSplitable(org.apache.hadoop.mapreduce.JobContext job,
org.apache.hadoop.fs.Path path) |
addInputPath, addInputPathRecursively, addInputPaths, computeSplitSize, getBlockIndex, getFormatMinSplitSize, getInputDirRecursive, getInputPathFilter, getInputPaths, getMaxSplitSize, getMinSplitSize, getSplits, listStatus, makeSplit, setInputDirRecursive, setInputPathFilter, setInputPaths, setInputPaths, setMaxInputSplitSize, setMinInputSplitSizepublic org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,SAMRecordWritable> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext ctx) throws InterruptedException, IOException
SAMRecordReader initialized with the parameters.createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.LongWritable,SAMRecordWritable>InterruptedExceptionIOExceptionpublic boolean isSplitable(org.apache.hadoop.mapreduce.JobContext job,
org.apache.hadoop.fs.Path path)
isSplitable in class org.apache.hadoop.mapreduce.lib.input.FileInputFormat<org.apache.hadoop.io.LongWritable,SAMRecordWritable>Copyright © 2017. All rights reserved.