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.Tool
public org.apache.commons.cli.Option[] getOptions()
getOptions
in interface SolrCLI.Tool
public int runTool(org.apache.commons.cli.CommandLine cli) throws Exception
runTool
in interface SolrCLI.Tool
Exception
protected int deleteCollection(org.apache.commons.cli.CommandLine cli) throws Exception
Exception
protected int deleteCollection(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception
Exception
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.