public class InjectorJob extends NutchTool implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
InjectorJob.UrlMapper |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
nutchFetchIntervalMDName
metadata key reserved for setting a custom fetchInterval for a specific URL
|
static java.lang.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(java.lang.String[] args) |
java.util.Map<java.lang.String,java.lang.Object> |
run(java.util.Map<java.lang.String,java.lang.Object> args)
Runs the tool, using a map of arguments.
|
int |
run(java.lang.String[] args) |
getProgress, getStatus, killJob, stopJobgetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic static java.lang.String nutchScoreMDName
public static java.lang.String nutchFetchIntervalMDName
public InjectorJob()
public InjectorJob(Configuration conf)
public java.util.Map<java.lang.String,java.lang.Object> run(java.util.Map<java.lang.String,java.lang.Object> args)
throws java.lang.Exception
NutchToolpublic void inject(Path urlDir) throws java.lang.Exception
java.lang.Exceptionpublic int run(java.lang.String[] args)
throws java.lang.Exception
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2019 The Apache Software Foundation