Class ConfigSetAdminRequest.Create
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<R>
-
- org.apache.solr.client.solrj.request.ConfigSetAdminRequest<T,ConfigSetAdminResponse>
-
- org.apache.solr.client.solrj.request.ConfigSetAdminRequest.ConfigSetSpecificAdminRequest<ConfigSetAdminRequest.Create>
-
- org.apache.solr.client.solrj.request.ConfigSetAdminRequest.Create
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ConfigSetAdminRequest<Q extends ConfigSetAdminRequest<Q,R>,R extends ConfigSetAdminResponse>
public static class ConfigSetAdminRequest.Create extends ConfigSetAdminRequest.ConfigSetSpecificAdminRequest<ConfigSetAdminRequest.Create>
Creates a new config set by cloning an existing "base" configset. To create a new configset from scratch using a ZIP file you wish to upload, use theConfigSetAdminRequest.Upload
command instead- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.request.ConfigSetAdminRequest
ConfigSetAdminRequest.ConfigSetSpecificAdminRequest<T extends ConfigSetAdminRequest<T,ConfigSetAdminResponse>>, ConfigSetAdminRequest.Create, ConfigSetAdminRequest.Delete, ConfigSetAdminRequest.List, ConfigSetAdminRequest.Upload
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
-
-
Field Summary
Fields Modifier and Type Field Description protected String
baseConfigSetName
protected Properties
properties
protected static String
PROPERTY_PREFIX
-
Fields inherited from class org.apache.solr.client.solrj.request.ConfigSetAdminRequest.ConfigSetSpecificAdminRequest
configSetName
-
Fields inherited from class org.apache.solr.client.solrj.request.ConfigSetAdminRequest
action
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description Create()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseConfigSetName()
Properties
getNewConfigSetProperties()
SolrParams
getParams()
protected ConfigSetAdminRequest.Create
getThis()
ConfigSetAdminRequest.Create
setBaseConfigSetName(String baseConfigSetName)
ConfigSetAdminRequest.Create
setNewConfigSetProperties(Properties properties)
-
Methods inherited from class org.apache.solr.client.solrj.request.ConfigSetAdminRequest.ConfigSetSpecificAdminRequest
createResponse, getConfigSetName, setConfigSetName
-
Methods inherited from class org.apache.solr.client.solrj.request.ConfigSetAdminRequest
getRequestType, setAction
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Field Detail
-
PROPERTY_PREFIX
protected static String PROPERTY_PREFIX
-
baseConfigSetName
protected String baseConfigSetName
-
properties
protected Properties properties
-
-
Method Detail
-
getThis
protected ConfigSetAdminRequest.Create getThis()
- Specified by:
getThis
in classConfigSetAdminRequest<ConfigSetAdminRequest.Create,ConfigSetAdminResponse>
-
setBaseConfigSetName
public final ConfigSetAdminRequest.Create setBaseConfigSetName(String baseConfigSetName)
-
getBaseConfigSetName
public final String getBaseConfigSetName()
-
setNewConfigSetProperties
public final ConfigSetAdminRequest.Create setNewConfigSetProperties(Properties properties)
-
getNewConfigSetProperties
public final Properties getNewConfigSetProperties()
-
getParams
public SolrParams getParams()
- Overrides:
getParams
in classConfigSetAdminRequest.ConfigSetSpecificAdminRequest<ConfigSetAdminRequest.Create>
-
-