edu.umd.cloud9.collection.pmc
Class PmcArticleInputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileInputFormat<K,V>
      extended by edu.umd.cloud9.collection.IndexableFileInputFormat<LongWritable,PmcArticle>
          extended by edu.umd.cloud9.collection.pmc.PmcArticleInputFormat
All Implemented Interfaces:
InputFormat<LongWritable,PmcArticle>

public class PmcArticleInputFormat
extends IndexableFileInputFormat<LongWritable,PmcArticle>


Nested Class Summary
static class PmcArticleInputFormat.PmcArticleRecordReader
           
 
Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
LOG
 
Constructor Summary
PmcArticleInputFormat()
           
 
Method Summary
 void configure(JobConf conf)
           
 RecordReader<LongWritable,PmcArticle> getRecordReader(InputSplit inputSplit, JobConf conf, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat
addInputPath, addInputPaths, getInputPathFilter, getInputPaths, getSplits, setInputPathFilter, setInputPaths, setInputPaths
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmcArticleInputFormat

public PmcArticleInputFormat()
Method Detail

configure

public void configure(JobConf conf)

getRecordReader

public RecordReader<LongWritable,PmcArticle> getRecordReader(InputSplit inputSplit,
                                                             JobConf conf,
                                                             Reporter reporter)
                                                      throws IOException
Specified by:
getRecordReader in interface InputFormat<LongWritable,PmcArticle>
Specified by:
getRecordReader in class FileInputFormat<LongWritable,PmcArticle>
Throws:
IOException