|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.nutch.tools.UpdateSegmentsFromDb
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 |
public static final Logger LOG
| Constructor Detail |
public UpdateSegmentsFromDb(NutchFileSystem fs,
String dbDir,
String segmentsDir,
String tempDir)
throws IOException
| Method Detail |
public void run()
throws IOException
IOException
public static void main(String[] args)
throws Exception
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||