edu.umd.cloud9.collection.spinn3r
Class Spinn3rItemInputFormat.Spinn3rItemRecordReader

java.lang.Object
  extended by edu.umd.cloud9.collection.spinn3r.Spinn3rItemInputFormat.Spinn3rItemRecordReader
All Implemented Interfaces:
RecordReader<LongWritable,Spinn3rItem>
Enclosing class:
Spinn3rItemInputFormat

public static class Spinn3rItemInputFormat.Spinn3rItemRecordReader
extends Object
implements RecordReader<LongWritable,Spinn3rItem>


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

Constructor Detail

Spinn3rItemInputFormat.Spinn3rItemRecordReader

public Spinn3rItemInputFormat.Spinn3rItemRecordReader(FileSplit split,
                                                      JobConf conf)
                                               throws IOException
Throws:
IOException
Method Detail

next

public boolean next(LongWritable key,
                    Spinn3rItem value)
             throws IOException
Specified by:
next in interface RecordReader<LongWritable,Spinn3rItem>
Throws:
IOException

createKey

public LongWritable createKey()
Specified by:
createKey in interface RecordReader<LongWritable,Spinn3rItem>

createValue

public Spinn3rItem createValue()
Specified by:
createValue in interface RecordReader<LongWritable,Spinn3rItem>

getPos

public long getPos()
            throws IOException
Specified by:
getPos in interface RecordReader<LongWritable,Spinn3rItem>
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface RecordReader<LongWritable,Spinn3rItem>
Throws:
IOException

getProgress

public float getProgress()
                  throws IOException
Specified by:
getProgress in interface RecordReader<LongWritable,Spinn3rItem>
Throws:
IOException