edu.umd.cloud9.collection.medline
Class MedlineCitationInputFormat.MedlineCitationRecordReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<LongWritable,MedlineCitation>
edu.umd.cloud9.collection.medline.MedlineCitationInputFormat.MedlineCitationRecordReader
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- MedlineCitationInputFormat
public static class MedlineCitationInputFormat.MedlineCitationRecordReader
- extends RecordReader<LongWritable,MedlineCitation>
MedlineCitationInputFormat.MedlineCitationRecordReader
public MedlineCitationInputFormat.MedlineCitationRecordReader()
initialize
public void initialize(InputSplit split,
TaskAttemptContext context)
throws IOException,
InterruptedException
- Specified by:
initialize in class RecordReader<LongWritable,MedlineCitation>
- Throws:
IOException
InterruptedException
getCurrentKey
public LongWritable getCurrentKey()
throws IOException,
InterruptedException
- Specified by:
getCurrentKey in class RecordReader<LongWritable,MedlineCitation>
- Throws:
IOException
InterruptedException
getCurrentValue
public MedlineCitation getCurrentValue()
throws IOException,
InterruptedException
- Specified by:
getCurrentValue in class RecordReader<LongWritable,MedlineCitation>
- Throws:
IOException
InterruptedException
nextKeyValue
public boolean nextKeyValue()
throws IOException,
InterruptedException
- Specified by:
nextKeyValue in class RecordReader<LongWritable,MedlineCitation>
- Throws:
IOException
InterruptedException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in class RecordReader<LongWritable,MedlineCitation>
- Throws:
IOException
getProgress
public float getProgress()
throws IOException,
InterruptedException
- Specified by:
getProgress in class RecordReader<LongWritable,MedlineCitation>
- Throws:
IOException
InterruptedException