public class CleaningJob extends Object implements Tool
Modifier and Type | Class and Description |
---|---|
static class |
CleaningJob.DBFilter |
static class |
CleaningJob.DeleterReducer |
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
CleaningJob() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String crawldb,
boolean noCommit) |
Configuration |
getConf() |
static void |
main(String[] args) |
int |
run(String[] args) |
void |
setConf(Configuration conf) |
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
public void delete(String crawldb, boolean noCommit) throws IOException
IOException
public int run(String[] args) throws IOException
run
in interface Tool
IOException
Copyright © 2015 The Apache Software Foundation