org.apache.nutch.clustering
Class OnlineClustererFactory
java.lang.Object
org.apache.nutch.clustering.OnlineClustererFactory
public class OnlineClustererFactory
- extends Object
A factory for retrieving OnlineClusterer
extensions.
- Version:
- $Id: OnlineClustererFactory.java 823614 2009-10-09 17:02:32Z ab $
- Author:
- Dawid Weiss
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
OnlineClustererFactory
public OnlineClustererFactory(Configuration conf)
- Create an instance of the clustering factory bound to
a given configuration.
getOnlineClusterer
public OnlineClusterer getOnlineClusterer()
throws PluginRuntimeException
- Returns:
- Returns the online clustering extension specified
in nutch configuration (key name is
extension.clustering.extension-name
).
If the name is empty (no preference), the first available clustering extension is
returned.
- Throws:
PluginRuntimeException
Copyright © 2006 The Apache Software Foundation