edu.umd.cloud9.collection.clue
Class ClueWarcInputFormat.ClueWarcRecordReader

java.lang.Object
  extended by 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>


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

Constructor Detail

ClueWarcInputFormat.ClueWarcRecordReader

public ClueWarcInputFormat.ClueWarcRecordReader(Configuration conf,
                                                FileSplit split)
                                         throws IOException
Throws:
IOException
Method Detail

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