org.apache.nutch.tools
Class UpdateSegmentsFromDb

java.lang.Object
  extended byorg.apache.nutch.tools.UpdateSegmentsFromDb

public class UpdateSegmentsFromDb
extends Object

Update scores and links in a set of segments from the current information in a web database.


Nested Class Summary
static class UpdateSegmentsFromDb.BySegmentComparator
          Used internally only.
static class UpdateSegmentsFromDb.ByUrlComparator
          Used internally only.
static class UpdateSegmentsFromDb.SegmentPage
          Used internally only.
static class UpdateSegmentsFromDb.Update
          Used internally only.
 
Field Summary
static Logger LOG
           
 
Constructor Summary
UpdateSegmentsFromDb(NutchFileSystem fs, String dbDir, String segmentsDir, String tempDir)
          Updates all segemnts in the named directory from the named db.
 
Method Summary
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final Logger LOG
Constructor Detail

UpdateSegmentsFromDb

public UpdateSegmentsFromDb(NutchFileSystem fs,
                            String dbDir,
                            String segmentsDir,
                            String tempDir)
                     throws IOException
Updates all segemnts in the named directory from the named db.

Method Detail

run

public void run()
         throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2006 The Apache Software Foundation