edu.umd.cloud9.collection.medline
Class MedlineCitationInputFormat2.MedlineCitationRecordReader

java.lang.Object
  extended by org.apache.hadoop.mapreduce.RecordReader<LongWritable,MedlineCitation>
      extended by edu.umd.cloud9.collection.medline.MedlineCitationInputFormat2.MedlineCitationRecordReader
All Implemented Interfaces:
Closeable
Enclosing class:
MedlineCitationInputFormat2

public static class MedlineCitationInputFormat2.MedlineCitationRecordReader
extends RecordReader<LongWritable,MedlineCitation>


Constructor Summary
MedlineCitationInputFormat2.MedlineCitationRecordReader()
           
 
Method Summary
 void close()
           
 LongWritable getCurrentKey()
           
 MedlineCitation getCurrentValue()
           
 float getProgress()
           
 void initialize(InputSplit split, TaskAttemptContext context)
           
 boolean nextKeyValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MedlineCitationInputFormat2.MedlineCitationRecordReader

public MedlineCitationInputFormat2.MedlineCitationRecordReader()
Method Detail

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