Class AliasPropertiesApi.UpdateAliasProperties
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SolrJerseyResponse>
org.apache.solr.client.solrj.request.AliasPropertiesApi.UpdateAliasProperties
- All Implemented Interfaces:
Serializable
- Enclosing class:
AliasPropertiesApi
public static class AliasPropertiesApi.UpdateAliasProperties
extends SolrRequest<SolrJerseyResponse>
- 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
ConstructorsConstructorDescriptionUpdateAliasProperties(String aliasName) Create a UpdateAliasProperties request object. -
Method Summary
Modifier and TypeMethodDescriptionprotected SolrJerseyResponsecreateResponse(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 stringvoidvoidsetProperties(Map<String, Object> properties) 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
-
UpdateAliasProperties
Create a UpdateAliasProperties request object.- Parameters:
aliasName- Path param - Alias Name
-
-
Method Details
-
setProperties
- Parameters:
properties- Properties and values to be updated on alias.
-
setAsync
- Parameters:
async- Request ID to track this action which will be processed asynchronously.
-
getContentWriter
Description copied from class:SolrRequestIf a request object wants to do a push write, implement this method.- Overrides:
getContentWriterin classSolrRequest<SolrJerseyResponse>- 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<SolrJerseyResponse>
-
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<SolrJerseyResponse>
-
getQueryParams
Description copied from class:SolrRequestParameter keys that are sent via the query string- Overrides:
getQueryParamsin classSolrRequest<SolrJerseyResponse>
-
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<SolrJerseyResponse>- Parameters:
namedList- fromSolrClient.request(SolrRequest, String).
-
getResponseParser
- Overrides:
getResponseParserin classSolrRequest<SolrJerseyResponse>- Returns:
- The
ResponseParser
-