org.apache.nutch.indexer
Class DeleteDuplicates.InputFormat.DDRecordReader

java.lang.Object
  extended by org.apache.nutch.indexer.DeleteDuplicates.InputFormat.DDRecordReader
All Implemented Interfaces:
RecordReader
Enclosing class:
DeleteDuplicates.InputFormat

public class DeleteDuplicates.InputFormat.DDRecordReader
extends Object
implements RecordReader


Constructor Summary
DeleteDuplicates.InputFormat.DDRecordReader(FileSplit split, JobConf job, Text index)
           
 
Method Summary
 void close()
           
 WritableComparable createKey()
           
 Writable createValue()
           
 long getPos()
           
 float getProgress()
           
 boolean next(Writable key, Writable value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteDuplicates.InputFormat.DDRecordReader

public DeleteDuplicates.InputFormat.DDRecordReader(FileSplit split,
                                                   JobConf job,
                                                   Text index)
                                            throws IOException
Throws:
IOException
Method Detail

next

public boolean next(Writable key,
                    Writable value)
             throws IOException
Specified by:
next in interface RecordReader
Throws:
IOException

getPos

public long getPos()
            throws IOException
Specified by:
getPos in interface RecordReader
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface RecordReader
Throws:
IOException

createKey

public WritableComparable createKey()
Specified by:
createKey in interface RecordReader

createValue

public Writable createValue()
Specified by:
createValue in interface RecordReader

getProgress

public float getProgress()
                  throws IOException
Specified by:
getProgress in interface RecordReader
Throws:
IOException


Copyright © 2006 The Apache Software Foundation