Class ConfigSetAdminRequest<Q extends ConfigSetAdminRequest<Q,R>,R extends ConfigSetAdminResponse>
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<R>
-
- org.apache.solr.client.solrj.request.ConfigSetAdminRequest<Q,R>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigSetAdminRequest.ConfigSetSpecificAdminRequest,ConfigSetAdminRequest.List
public abstract class ConfigSetAdminRequest<Q extends ConfigSetAdminRequest<Q,R>,R extends ConfigSetAdminResponse> extends SolrRequest<R>
This class is experimental and subject to change.- Since:
- solr 5.4
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classConfigSetAdminRequest.ConfigSetSpecificAdminRequest<T extends ConfigSetAdminRequest<T,ConfigSetAdminResponse>>static classConfigSetAdminRequest.CreateCreates a new config set by cloning an existing "base" configset.static classConfigSetAdminRequest.Deletestatic classConfigSetAdminRequest.Liststatic classConfigSetAdminRequest.UploadUploads files to create a new configset, or modify an existing config set.-
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 ConfigSetParams.ConfigSetActionaction-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description ConfigSetAdminRequest()ConfigSetAdminRequest(String path)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract RcreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the serverSolrParamsgetParams()StringgetRequestType()This method defines the type of this Solr request.protected abstract QgetThis()protected ConfigSetAdminRequest<Q,R>setAction(ConfigSetParams.ConfigSetAction action)-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, 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
-
action
protected ConfigSetParams.ConfigSetAction action
-
-
Constructor Detail
-
ConfigSetAdminRequest
public ConfigSetAdminRequest()
-
ConfigSetAdminRequest
public ConfigSetAdminRequest(String path)
-
-
Method Detail
-
setAction
protected ConfigSetAdminRequest<Q,R> setAction(ConfigSetParams.ConfigSetAction action)
-
getThis
protected abstract Q getThis()
-
getParams
public SolrParams getParams()
- Specified by:
getParamsin classSolrRequest<R extends ConfigSetAdminResponse>
-
createResponse
protected abstract R createResponse(SolrClient client)
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
createResponsein classSolrRequest<R extends ConfigSetAdminResponse>- Parameters:
client- theSolrClientthe request will be sent to
-
getRequestType
public String getRequestType()
Description copied from class:SolrRequestThis method defines the type of this Solr request.- Specified by:
getRequestTypein classSolrRequest<R extends ConfigSetAdminResponse>
-
-