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.Tool
public org.apache.commons.cli.Option[] getOptions()
getOptions
in interface SolrCLI.Tool
public int runTool(org.apache.commons.cli.CommandLine cli) throws Exception
runTool
in interface SolrCLI.Tool
Exception
protected int 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-2015 Apache Software Foundation. All Rights Reserved.