public static class SolrCLI.DeleteTool extends Object implements SolrCLI.Tool
| Constructor and Description |
|---|
SolrCLI.DeleteTool() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
deleteCollection(CloudSolrClient cloudSolrClient,
org.apache.commons.cli.CommandLine cli) |
protected int |
deleteCollection(org.apache.commons.cli.CommandLine cli) |
protected int |
deleteCore(org.apache.commons.cli.CommandLine cli,
org.apache.http.impl.client.CloseableHttpClient httpClient,
String solrUrl) |
String |
getName() |
org.apache.commons.cli.Option[] |
getOptions() |
int |
runTool(org.apache.commons.cli.CommandLine cli) |
public String getName()
getName in interface SolrCLI.Toolpublic org.apache.commons.cli.Option[] getOptions()
getOptions in interface SolrCLI.Toolpublic int runTool(org.apache.commons.cli.CommandLine cli)
throws Exception
runTool in interface SolrCLI.ToolExceptionprotected int deleteCollection(org.apache.commons.cli.CommandLine cli)
throws Exception
Exceptionprotected int deleteCollection(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception
ExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.