public class CleaningJob extends NutchTool implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
CleaningJob.CleanMapper |
static class |
CleaningJob.CleanReducer |
| Modifier and Type | Field and Description |
|---|---|
static String |
ARG_COMMIT |
static org.slf4j.Logger |
LOG |
currentJob, currentJobNum, numJobs, results, status| Constructor and Description |
|---|
CleaningJob() |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(boolean commit) |
Configuration |
getConf() |
Collection<WebPage.Field> |
getFields(Job job) |
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) |
void |
setConf(Configuration conf) |
getProgress, getStatus, killJob, stopJobpublic static final String ARG_COMMIT
public static final org.slf4j.Logger LOG
public Configuration getConf()
getConf in interface ConfigurablegetConf in class Configuredpublic void setConf(Configuration conf)
setConf in interface ConfigurablesetConf in class Configuredpublic Collection<WebPage.Field> getFields(Job job)
public Map<String,Object> run(Map<String,Object> args) throws Exception
NutchToolCopyright © 2015 The Apache Software Foundation