public class BCFRecordReader extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>
VCFRecordReader for the meaning of the key.| Constructor and Description |
|---|
BCFRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.LongWritable |
getCurrentKey() |
VariantContextWritable |
getCurrentValue() |
float |
getProgress()
For compressed BCF, unless the end has been reached, this is quite
inaccurate.
|
void |
initialize(org.apache.hadoop.mapreduce.InputSplit spl,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx) |
boolean |
nextKeyValue() |
public void initialize(org.apache.hadoop.mapreduce.InputSplit spl,
org.apache.hadoop.mapreduce.TaskAttemptContext ctx)
throws IOException
initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>IOExceptionpublic float getProgress()
getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>public org.apache.hadoop.io.LongWritable getCurrentKey()
getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>public VariantContextWritable getCurrentValue()
getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>public boolean nextKeyValue()
throws IOException
nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,VariantContextWritable>IOExceptionCopyright © 2017. All rights reserved.