public static class SolrCLI.CreateCollectionTool extends Object implements SolrCLI.Tool
| Constructor and Description |
|---|
SolrCLI.CreateCollectionTool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
org.apache.commons.cli.Option[] |
getOptions() |
protected int |
optionAsInt(org.apache.commons.cli.CommandLine cli,
String option,
int defaultVal) |
protected int |
runCloudTool(CloudSolrClient cloudSolrClient,
org.apache.commons.cli.CommandLine cli) |
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 runCloudTool(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception
Exceptionprotected int optionAsInt(org.apache.commons.cli.CommandLine cli,
String option,
int defaultVal)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.