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, stopJob
public static final String ARG_COMMIT
public static final org.slf4j.Logger LOG
public Configuration getConf()
getConf
in interface Configurable
getConf
in class Configured
public void setConf(Configuration conf)
setConf
in interface Configurable
setConf
in class Configured
public Collection<WebPage.Field> getFields(Job job)
public Map<String,Object> run(Map<String,Object> args) throws Exception
NutchTool
Copyright © 2015 The Apache Software Foundation