Uses of Class
org.apache.nutch.io.WritableComparator

Packages that use WritableComparator
org.apache.nutch.db Web database: tracks page fetches and link structure. 
org.apache.nutch.indexer Maintain Lucene full-text indexes. 
org.apache.nutch.io Generic i/o code for use when reading and writing data to the network, to databases, and to files. 
org.apache.nutch.tools   
 

Uses of WritableComparator in org.apache.nutch.db
 

Subclasses of WritableComparator in org.apache.nutch.db
static class DistributedWebDBWriter.LinkInstruction.MD5Comparator
          Sorts the instruction first by Md5, then by opcode.
static class DistributedWebDBWriter.LinkInstruction.UrlComparator
          Sorts the instruction first by url, then by opcode.
static class DistributedWebDBWriter.PageInstruction.PageComparator
          Sorts the instruction first by Page, then by opcode.
static class DistributedWebDBWriter.PageInstruction.UrlComparator
          Sorts the instruction first by url, then by opcode.
static class Link.MD5Comparator
          MD5Comparator is the opposite.
static class Link.UrlComparator
          URLComparator uses the standard method where, uh, the URL comes first.
static class Page.Comparator
          Compares pages by MD5, then by URL.
static class Page.UrlComparator
          Compares pages by URL only.
static class WebDBWriter.LinkInstruction.MD5Comparator
          Sorts the instruction first by Md5, then by opcode.
static class WebDBWriter.LinkInstruction.UrlComparator
          Sorts the instruction first by url, then by opcode.
static class WebDBWriter.PageInstruction.PageComparator
          Sorts the instruction first by Page, then by opcode.
static class WebDBWriter.PageInstruction.UrlComparator
          Sorts the instruction first by url, then by opcode.
 

Constructors in org.apache.nutch.db with parameters of type WritableComparator
DBSectionReader(NutchFileSystem nfs, File sectionFile, WritableComparator comparator)
          Right now we assume we're getting a File that is a MapFile.Reader directory.
 

Uses of WritableComparator in org.apache.nutch.indexer
 

Subclasses of WritableComparator in org.apache.nutch.indexer
static class DeleteDuplicates.IndexedDoc.ByHashDoc
          Order equal hashes by decreasing index and document.
static class DeleteDuplicates.IndexedDoc.ByHashScore
          Order equal hashes by decreasing score and increasing urlLen.
 

Uses of WritableComparator in org.apache.nutch.io
 

Subclasses of WritableComparator in org.apache.nutch.io
static class BooleanWritable.Comparator
          A Comparator optimized for BooleanWritable.
static class FloatWritable.Comparator
          A Comparator optimized for FloatWritable.
static class IntWritable.Comparator
          A Comparator optimized for IntWritable.
static class LongWritable.Comparator
          A Comparator optimized for LongWritable.
static class LongWritable.DecreasingComparator
          A decreasing Comparator optimized for LongWritable.
static class MD5Hash.Comparator
          A WritableComparator optimized for MD5Hash keys.
static class UTF8.Comparator
          A WritableComparator optimized for UTF8 keys.
 

Methods in org.apache.nutch.io that return WritableComparator
static WritableComparator WritableComparator.get(Class c)
          Get a comparator for a WritableComparable implementation.
 

Methods in org.apache.nutch.io with parameters of type WritableComparator
static void WritableComparator.define(Class c, WritableComparator comparator)
          Register an optimized comparator for a WritableComparable implementation.
 

Constructors in org.apache.nutch.io with parameters of type WritableComparator
MapFile.Writer(NutchFileSystem nfs, String dirName, WritableComparator comparator, Class valClass)
          Create the named map using the named key comparator.
MapFile.Reader(NutchFileSystem nfs, String dirName, WritableComparator comparator)
          Construct a map reader for the named map using the named comparator.
SetFile.Writer(NutchFileSystem nfs, String dirName, WritableComparator comparator)
          Create the named set using the named key comparator.
SequenceFile.Sorter(NutchFileSystem nfs, WritableComparator comparator, Class valClass)
          Sort and merge using an arbitrary WritableComparator.
SetFile.Reader(NutchFileSystem nfs, String dirName, WritableComparator comparator)
          Construct a set reader for the named set using the named comparator.
 

Uses of WritableComparator in org.apache.nutch.tools
 

Subclasses of WritableComparator in org.apache.nutch.tools
static class UpdateSegmentsFromDb.BySegmentComparator
          Used internally only.
static class UpdateSegmentsFromDb.ByUrlComparator
          Used internally only.
 



Copyright © 2006 The Apache Software Foundation