Class ReplicasApi.DeleteReplicasByCountAllShards
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SubResponseAccumulatingJerseyResponse>
org.apache.solr.client.solrj.request.ReplicasApi.DeleteReplicasByCountAllShards
- All Implemented Interfaces:
Serializable
- Enclosing class:
ReplicasApi
public static class ReplicasApi.DeleteReplicasByCountAllShards
extends SolrRequest<SubResponseAccumulatingJerseyResponse>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType -
Field Summary
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS -
Constructor Summary
ConstructorsConstructorDescriptionDeleteReplicasByCountAllShards(String collectionName) Create a DeleteReplicasByCountAllShards request object. -
Method Summary
Modifier and TypeMethodDescriptionprotected SubResponseAccumulatingJerseyResponsecreateResponse(NamedList<Object> namedList) Create a new SolrResponse to hold the response from the server.Indicates which API version this request will makegetContentWriter(String _expectedTypeIGNORE) If a request object wants to do a push write, implement this method.The parameters for this request; never null.Parameter keys that are sent via the query stringvoidvoidsetDeleteDataDir(Boolean deleteDataDir) voidsetDeleteIndex(Boolean deleteIndex) voidsetDeleteInstanceDir(Boolean deleteInstanceDir) voidsetFollowAliases(Boolean followAliases) voidsetNumToDelete(Integer numToDelete) voidsetOnlyIfDown(Boolean onlyIfDown) Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getRequestType, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, requiresCollection, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Constructor Details
-
DeleteReplicasByCountAllShards
Create a DeleteReplicasByCountAllShards request object.- Parameters:
collectionName- Path param -
-
-
Method Details
-
setNumToDelete
-
setFollowAliases
-
setDeleteInstanceDir
-
setDeleteDataDir
-
setDeleteIndex
-
setOnlyIfDown
-
setAsync
-
getContentWriter
Description copied from class:SolrRequestIf a request object wants to do a push write, implement this method.- Overrides:
getContentWriterin classSolrRequest<SubResponseAccumulatingJerseyResponse>- Parameters:
_expectedTypeIGNORE- This is the type that the RequestWriter would like to get. But, it is OK to send any format
-
getApiVersion
Description copied from class:SolrRequestIndicates which API version this request will makeDefaults implementation returns 'V1'.
- Overrides:
getApiVersionin classSolrRequest<SubResponseAccumulatingJerseyResponse>
-
getParams
Description copied from class:SolrRequestThe parameters for this request; never null. The runtime type may be mutable but modifications may not affect thisSolrRequestinstance, as it may return a new instance here every time. If the subclass specifies the response type asModifiableSolrParams, then one can expect it to change this request. If the subclass has a setter then one can expect this method to return the value set.- Specified by:
getParamsin classSolrRequest<SubResponseAccumulatingJerseyResponse>
-
getQueryParams
Description copied from class:SolrRequestParameter keys that are sent via the query string- Overrides:
getQueryParamsin classSolrRequest<SubResponseAccumulatingJerseyResponse>
-
createResponse
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server. If the response extendsSolrResponse, then there's no need to use the arguments, asSolrResponse.setResponse(NamedList)will be called right after this method.- Specified by:
createResponsein classSolrRequest<SubResponseAccumulatingJerseyResponse>- Parameters:
namedList- fromSolrClient.request(SolrRequest, String).
-
getResponseParser
- Overrides:
getResponseParserin classSolrRequest<SubResponseAccumulatingJerseyResponse>- Returns:
- The
ResponseParser
-