edu.umd.cloud9.collection.clue
Class ClueWarcInputFormat.ClueWarcRecordReader
java.lang.Object
edu.umd.cloud9.collection.clue.ClueWarcInputFormat.ClueWarcRecordReader
- All Implemented Interfaces:
- RecordReader<LongWritable,ClueWarcRecord>
- Enclosing class:
- ClueWarcInputFormat
public static class ClueWarcInputFormat.ClueWarcRecordReader
- extends Object
- implements RecordReader<LongWritable,ClueWarcRecord>
ClueWarcInputFormat.ClueWarcRecordReader
public ClueWarcInputFormat.ClueWarcRecordReader(Configuration conf,
FileSplit split)
throws IOException
- Throws:
IOException
next
public boolean next(LongWritable key,
ClueWarcRecord value)
throws IOException
- Specified by:
next in interface RecordReader<LongWritable,ClueWarcRecord>
- Throws:
IOException
createKey
public LongWritable createKey()
- Specified by:
createKey in interface RecordReader<LongWritable,ClueWarcRecord>
createValue
public ClueWarcRecord createValue()
- Specified by:
createValue in interface RecordReader<LongWritable,ClueWarcRecord>
getPos
public long getPos()
throws IOException
- Specified by:
getPos in interface RecordReader<LongWritable,ClueWarcRecord>
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface RecordReader<LongWritable,ClueWarcRecord>
- Throws:
IOException
getProgress
public float getProgress()
throws IOException
- Specified by:
getProgress in interface RecordReader<LongWritable,ClueWarcRecord>
- Throws:
IOException