|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.nutch.util.NutchConfiguration
public class NutchConfiguration
Utility to create Hadoop Configurations that include Nutch-specific
resources.
| Field Summary | |
|---|---|
static String |
UUID_KEY
|
| Method Summary | |
|---|---|
static Configuration |
create()
Create a Configuration for Nutch. |
static Configuration |
create(boolean addNutchResources,
Properties nutchProperties)
Create a Configuration from supplied properties. |
static String |
getUUID(Configuration conf)
Retrieve a Nutch UUID of this configuration object, or null if the configuration was created elsewhere. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UUID_KEY
| Method Detail |
|---|
public static String getUUID(Configuration conf)
conf - configuration instance
public static Configuration create()
Configuration for Nutch. This will load the standard
Nutch resources, nutch-default.xml and
nutch-site.xml overrides.
public static Configuration create(boolean addNutchResources,
Properties nutchProperties)
Configuration from supplied properties.
addNutchResources - if true, then first nutch-default.xml,
and then nutch-site.xml will be loaded prior to applying the
properties. Otherwise these resources won't be used.nutchProperties - a set of properties to define (or override)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||