org.apache.nutch.util.domain
Class DomainStatistics
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.util.domain.DomainStatistics
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class DomainStatistics
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.util.Tool
Extracts some very basic statistics about domains from the crawldb
Method Summary |
org.apache.hadoop.conf.Configuration |
getConf()
|
static void |
main(String[] args)
|
int |
run(String[] args)
|
void |
setConf(org.apache.hadoop.conf.Configuration conf)
|
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 org.apache.hadoop.util.Tool
- Throws:
IOException
ClassNotFoundException
InterruptedException
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf
in interface org.apache.hadoop.conf.Configurable
- Overrides:
getConf
in class org.apache.hadoop.conf.Configured
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
- Overrides:
setConf
in class org.apache.hadoop.conf.Configured
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2013 The Apache Software Foundation