org.apache.nutch.crawl
Class CrawlDb
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.crawl.CrawlDb
- All Implemented Interfaces:
- Configurable
- public class CrawlDb
- extends Configured
This class takes the output of the fetcher and updates the
crawldb accordingly.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
CrawlDb
public CrawlDb(Configuration conf)
- Construct an CrawlDb.
update
public void update(Path crawlDb,
Path segment)
throws IOException
- Throws:
IOException
createJob
public static JobConf createJob(Configuration config,
Path crawlDb)
throws IOException
- Throws:
IOException
install
public static void install(JobConf job,
Path crawlDb)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2006 The Apache Software Foundation