Package org.apache.solr.cloud
Class ConfigSetCmds
- java.lang.Object
- 
- org.apache.solr.cloud.ConfigSetCmds
 
- 
 public class ConfigSetCmds extends Object This class contains methods dealing with Config Sets and called for Config Set API execution, called from theOverseerConfigSetMessageHandleror fromDistributedCollectionConfigSetCommandRunner.runConfigSetCommand(org.apache.solr.response.SolrQueryResponse, org.apache.solr.handler.admin.ConfigSetsHandler.ConfigSetOperation, java.util.Map<java.lang.String, java.lang.Object>, long)depending on whether Collection and Config Set APIs are Overseer based or distributed.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringBASE_CONFIGSETName of the ConfigSet to copy from for CREATEstatic StringCONFIG_SET_PROPERTY_PREFIXPrefix for properties that should be applied to the ConfigSet for CREATE
 - 
Constructor SummaryConstructors Constructor Description ConfigSetCmds()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateConfigSet(ZkNodeProps message, CoreContainer coreContainer)static voiddeleteConfigSet(ZkNodeProps message, CoreContainer coreContainer)static StringgetBaseConfigSetName(ConfigSetParams.ConfigSetAction action, String baseConfigSetName)
 
- 
- 
- 
Field Detail- 
BASE_CONFIGSETpublic static final String BASE_CONFIGSET Name of the ConfigSet to copy from for CREATE- See Also:
- Constant Field Values
 
 - 
CONFIG_SET_PROPERTY_PREFIXpublic static final String CONFIG_SET_PROPERTY_PREFIX Prefix for properties that should be applied to the ConfigSet for CREATE- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getBaseConfigSetNamepublic static String getBaseConfigSetName(ConfigSetParams.ConfigSetAction action, String baseConfigSetName) 
 - 
createConfigSetpublic static void createConfigSet(ZkNodeProps message, CoreContainer coreContainer) throws IOException - Throws:
- IOException
 
 - 
deleteConfigSetpublic static void deleteConfigSet(ZkNodeProps message, CoreContainer coreContainer) throws IOException - Throws:
- IOException
 
 
- 
 
-