org.apache.nutch.db
Class EditSectionGroupWriter.KeyExtractor

java.lang.Object
  extended byorg.apache.nutch.db.EditSectionGroupWriter.KeyExtractor
Direct Known Subclasses:
EditSectionGroupWriter.LinkMD5Extractor, EditSectionGroupWriter.LinkURLExtractor, EditSectionGroupWriter.PageMD5Extractor, EditSectionGroupWriter.PageURLExtractor
Enclosing class:
EditSectionGroupWriter

public abstract static class EditSectionGroupWriter.KeyExtractor
extends Object

Edit instructions are Comparable, but they also have an "inner" key like MD5Hash or URL that is also Comparable. This class extracts that inner key, which we need for allocating a Page or Link Instruction into the correct bucket.


Constructor Summary
EditSectionGroupWriter.KeyExtractor()
           
 
Method Summary
abstract  WritableComparable extractInnerKey(WritableComparable key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditSectionGroupWriter.KeyExtractor

public EditSectionGroupWriter.KeyExtractor()
Method Detail

extractInnerKey

public abstract WritableComparable extractInnerKey(WritableComparable key)


Copyright © 2006 The Apache Software Foundation