Package org.apache.solr.util
Class SolrCLI.CreateCollectionTool
- java.lang.Object
- 
- org.apache.solr.util.SolrCLI.ToolBase
- 
- org.apache.solr.util.SolrCLI.CreateCollectionTool
 
 
- 
- All Implemented Interfaces:
- SolrCLI.Tool
 - Enclosing class:
- SolrCLI
 
 public static class SolrCLI.CreateCollectionTool extends SolrCLI.ToolBase Supports create_collection command in the bin/solr script.
- 
- 
Field Summary- 
Fields inherited from class org.apache.solr.util.SolrCLI.ToolBasestdout, verbose
 
- 
 - 
Constructor SummaryConstructors Constructor Description CreateCollectionTool()CreateCollectionTool(PrintStream stdout)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()org.apache.commons.cli.Option[]getOptions()protected intoptionAsInt(org.apache.commons.cli.CommandLine cli, String option, int defaultVal)protected voidrunCloudTool(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli)protected voidrunImpl(org.apache.commons.cli.CommandLine cli)- 
Methods inherited from class org.apache.solr.util.SolrCLI.ToolBaseecho, echoIfVerbose, runTool
 
- 
 
- 
- 
- 
Constructor Detail- 
CreateCollectionToolpublic CreateCollectionTool() 
 - 
CreateCollectionToolpublic CreateCollectionTool(PrintStream stdout) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() 
 - 
getOptionspublic org.apache.commons.cli.Option[] getOptions() 
 - 
runImplprotected void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception- Specified by:
- runImplin class- SolrCLI.ToolBase
- Throws:
- Exception
 
 - 
runCloudToolprotected void runCloudTool(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception - Throws:
- Exception
 
 - 
optionAsIntprotected int optionAsInt(org.apache.commons.cli.CommandLine cli, String option, int defaultVal)
 
- 
 
-