edu.umd.cloud9.collection.pmc
Class PmcArticleInputFormat.PmcArticleRecordReader

java.lang.Object
  extended by edu.umd.cloud9.collection.pmc.PmcArticleInputFormat.PmcArticleRecordReader
All Implemented Interfaces:
RecordReader<LongWritable,PmcArticle>
Enclosing class:
PmcArticleInputFormat

public static class PmcArticleInputFormat.PmcArticleRecordReader
extends Object
implements RecordReader<LongWritable,PmcArticle>


Constructor Summary
PmcArticleInputFormat.PmcArticleRecordReader(FileSplit split, JobConf conf)
           
 
Method Summary
 void close()
           
 LongWritable createKey()
           
 PmcArticle createValue()
           
 long getPos()
           
 float getProgress()
           
 boolean next(LongWritable key, PmcArticle value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmcArticleInputFormat.PmcArticleRecordReader

public PmcArticleInputFormat.PmcArticleRecordReader(FileSplit split,
                                                    JobConf conf)
                                             throws IOException
Throws:
IOException
Method Detail

next

public boolean next(LongWritable key,
                    PmcArticle value)
             throws IOException
Specified by:
next in interface RecordReader<LongWritable,PmcArticle>
Throws:
IOException

createKey

public LongWritable createKey()
Specified by:
createKey in interface RecordReader<LongWritable,PmcArticle>

createValue

public PmcArticle createValue()
Specified by:
createValue in interface RecordReader<LongWritable,PmcArticle>

getPos

public long getPos()
            throws IOException
Specified by:
getPos in interface RecordReader<LongWritable,PmcArticle>
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface RecordReader<LongWritable,PmcArticle>
Throws:
IOException

getProgress

public float getProgress()
                  throws IOException
Specified by:
getProgress in interface RecordReader<LongWritable,PmcArticle>
Throws:
IOException