Package org.apache.solr.cli
Class DeleteTool
- java.lang.Object
-
- org.apache.solr.cli.ToolBase
-
- org.apache.solr.cli.DeleteTool
-
-
Constructor Summary
Constructors Constructor Description DeleteTool()DeleteTool(PrintStream stdout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeleteCollection(org.apache.commons.cli.CommandLine cli)protected voiddeleteCollection(org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli)protected voiddeleteCore(org.apache.commons.cli.CommandLine cli, org.apache.solr.client.solrj.SolrClient solrClient)StringgetName()Defines the interface to a Solr tool that can be run from this command-line app.List<org.apache.commons.cli.Option>getOptions()voidrunImpl(org.apache.commons.cli.CommandLine cli)-
Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, runTool
-
-
-
-
Constructor Detail
-
DeleteTool
public DeleteTool()
-
DeleteTool
public DeleteTool(PrintStream stdout)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ToolDefines the interface to a Solr tool that can be run from this command-line app.
-
getOptions
public List<org.apache.commons.cli.Option> getOptions()
-
runImpl
public void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
-
deleteCollection
protected void deleteCollection(org.apache.commons.cli.CommandLine cli) throws Exception- Throws:
Exception
-
deleteCollection
protected void deleteCollection(org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception- Throws:
Exception
-
-