public class CleaningJob extends Object implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
CleaningJob.DBFilter |
static class |
CleaningJob.DeleterReducer |
| 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 Configurablepublic void setConf(Configuration conf)
setConf in interface Configurablepublic void delete(String crawldb, boolean noCommit) throws IOException, InterruptedException, ClassNotFoundException
public int run(String[] args) throws IOException
run in interface ToolIOExceptionCopyright © 2021 The Apache Software Foundation