org.apache.nutch.util.domain
Class DomainStatistics
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.util.domain.DomainStatistics
- All Implemented Interfaces:
- Configurable, Tool
public class DomainStatistics
- extends Configured
- implements Tool
Extracts some very basic statistics about domains from the crawldb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainStatistics
public DomainStatistics()
run
public int run(String[] args)
throws IOException,
ClassNotFoundException,
InterruptedException
- Specified by:
run in interface Tool
- Throws:
IOException
ClassNotFoundException
InterruptedException
getConf
public Configuration getConf()
- Specified by:
getConf in interface Configurable- Overrides:
getConf in class Configured
setConf
public void setConf(Configuration conf)
- Specified by:
setConf in interface Configurable- Overrides:
setConf in class Configured
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation