|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cloud9.collection.medline.MedlineCitationInputFormat.MedlineCitationRecordReader
public static class MedlineCitationInputFormat.MedlineCitationRecordReader
Hadoop RecordReader for reading MEDLINE citations in XML
format.
| Constructor Summary | |
|---|---|
MedlineCitationInputFormat.MedlineCitationRecordReader(FileSplit split,
JobConf conf)
Creates a MedlineCitationRecordReader. |
|
| Method Summary | |
|---|---|
void |
close()
Closes this InputSplit. |
LongWritable |
createKey()
Creates an object for the key. |
MedlineCitation |
createValue()
Creates an object for the value. |
long |
getPos()
Returns the current position in the input. |
float |
getProgress()
Returns progress on how much input has been consumed. |
boolean |
next(LongWritable key,
MedlineCitation value)
Reads the next key-value pair. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MedlineCitationInputFormat.MedlineCitationRecordReader(FileSplit split,
JobConf conf)
throws IOException
MedlineCitationRecordReader.
IOException| Method Detail |
|---|
public boolean next(LongWritable key,
MedlineCitation value)
throws IOException
next in interface RecordReader<LongWritable,MedlineCitation>IOExceptionpublic LongWritable createKey()
createKey in interface RecordReader<LongWritable,MedlineCitation>public MedlineCitation createValue()
createValue in interface RecordReader<LongWritable,MedlineCitation>
public long getPos()
throws IOException
getPos in interface RecordReader<LongWritable,MedlineCitation>IOException
public void close()
throws IOException
close in interface RecordReader<LongWritable,MedlineCitation>IOException
public float getProgress()
throws IOException
getProgress in interface RecordReader<LongWritable,MedlineCitation>IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||