org.apache.nutch.db
Class EditSectionGroupWriter.KeyExtractor
java.lang.Object
org.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditSectionGroupWriter.KeyExtractor
public EditSectionGroupWriter.KeyExtractor()
extractInnerKey
public abstract WritableComparable extractInnerKey(WritableComparable key)
Copyright © 2006 The Apache Software Foundation