edu.umd.cloud9.collection.pmc
Class PmcArticleInputFormat.PmcArticleRecordReader
java.lang.Object
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>
PmcArticleInputFormat.PmcArticleRecordReader
public PmcArticleInputFormat.PmcArticleRecordReader(FileSplit split,
JobConf conf)
throws IOException
- Throws:
IOException
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