public static class SolrCLI.CreateCollectionTool extends SolrCLI.ToolBase
stdout, verbose
Constructor and Description |
---|
CreateCollectionTool() |
CreateCollectionTool(PrintStream stdout) |
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 void |
runCloudTool(CloudSolrClient cloudSolrClient,
org.apache.commons.cli.CommandLine cli) |
protected void |
runImpl(org.apache.commons.cli.CommandLine cli) |
echo, runTool, upconfig
public CreateCollectionTool()
public CreateCollectionTool(PrintStream stdout)
public String getName()
public org.apache.commons.cli.Option[] getOptions()
protected void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
runImpl
in class SolrCLI.ToolBase
Exception
protected void runCloudTool(CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli) throws Exception
Exception
protected int optionAsInt(org.apache.commons.cli.CommandLine cli, String option, int defaultVal)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.