Class CoreSnapshotsApi.CreateSnapshot
- java.lang.Object
- 
- org.apache.solr.client.solrj.SolrRequest<CoreSnapshotsApi.CreateSnapshotResponse>
- 
- org.apache.solr.client.solrj.request.CoreSnapshotsApi.CreateSnapshot
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Enclosing class:
- CoreSnapshotsApi
 
 public static class CoreSnapshotsApi.CreateSnapshot extends SolrRequest<CoreSnapshotsApi.CreateSnapshotResponse> - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequestSolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.client.solrj.SolrRequestSUPPORTED_METHODS, useBinaryV2, usev2
 
- 
 - 
Constructor SummaryConstructors Constructor Description CreateSnapshot(String coreName, String snapshotName)Create a CreateSnapshot request object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CoreSnapshotsApi.CreateSnapshotResponsecreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the serverSolrParamsgetParams()StringgetRequestType()This method defines the type of this Solr request.ResponseParsergetResponseParser()voidsetAsync(String async)- 
Methods inherited from class org.apache.solr.client.solrj.SolrRequestaddHeader, addHeaders, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getStreamingResponseCallback, getUserPrincipal, process, process, requiresCollection, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
 
- 
 
- 
- 
- 
Method Detail- 
setAsyncpublic void setAsync(String async) - Parameters:
- async- The id to associate with the async task.
 
 - 
getRequestTypepublic String getRequestType() Description copied from class:SolrRequestThis method defines the type of this Solr request.- Specified by:
- getRequestTypein class- SolrRequest<CoreSnapshotsApi.CreateSnapshotResponse>
 
 - 
getParamspublic SolrParams getParams() - Specified by:
- getParamsin class- SolrRequest<CoreSnapshotsApi.CreateSnapshotResponse>
 
 - 
createResponseprotected CoreSnapshotsApi.CreateSnapshotResponse createResponse(SolrClient client) Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
- createResponsein class- SolrRequest<CoreSnapshotsApi.CreateSnapshotResponse>
- Parameters:
- client- the- SolrClientthe request will be sent to
 
 - 
getResponseParserpublic ResponseParser getResponseParser() - Overrides:
- getResponseParserin class- SolrRequest<CoreSnapshotsApi.CreateSnapshotResponse>
- Returns:
- The ResponseParser
 
 
- 
 
-