Class DeleteTool

  • All Implemented Interfaces:
    Tool

    public class DeleteTool
    extends ToolBase
    • Constructor Detail

      • DeleteTool

        public DeleteTool()
      • DeleteTool

        public DeleteTool​(PrintStream stdout)
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Tool
        Defines the interface to a Solr tool that can be run from this command-line app.
      • getOptions

        public List<org.apache.commons.cli.Option> getOptions()
      • 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
      • deleteCore

        protected void deleteCore​(org.apache.commons.cli.CommandLine cli,
                                  org.apache.solr.client.solrj.SolrClient solrClient)
                           throws Exception
        Throws:
        Exception