public class InjectorJob extends NutchTool implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
InjectorJob.UrlMapper |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static String |
nutchFetchIntervalMDName
metadata key reserved for setting a custom fetchInterval for a specific URL
|
static String |
nutchScoreMDName
metadata key reserved for setting a custom score for a specific URL
|
currentJob, currentJobNum, numJobs, results, status| Constructor and Description |
|---|
InjectorJob() |
InjectorJob(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
inject(Path urlDir) |
static void |
main(String[] args) |
Map<String,Object> |
run(Map<String,Object> args)
Runs the tool, using a map of arguments.
|
int |
run(String[] args) |
getProgress, getStatus, killJob, stopJobgetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic static final org.slf4j.Logger LOG
public static String nutchScoreMDName
public static String nutchFetchIntervalMDName
public InjectorJob()
public InjectorJob(Configuration conf)
Copyright © 2015 The Apache Software Foundation