Class SchemaRequest.Update
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.UpdateResponse>
org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SchemaRequest.AddCopyField,SchemaRequest.AddDynamicField,SchemaRequest.AddField,SchemaRequest.AddFieldType,SchemaRequest.DeleteCopyField,SchemaRequest.DeleteDynamicField,SchemaRequest.DeleteField,SchemaRequest.DeleteFieldType,SchemaRequest.MultiUpdate,SchemaRequest.ReplaceDynamicField,SchemaRequest.ReplaceField,SchemaRequest.ReplaceFieldType
- Enclosing class:
SchemaRequest
public abstract static class SchemaRequest.Update
extends AbstractSchemaRequest<SchemaResponse.UpdateResponse>
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SchemaResponse.UpdateResponsecreateResponse(NamedList<Object> namedList) Create a new SolrResponse to hold the response from the server.getContentWriter(String expectedType) If a request object wants to do a push write, implement this method.Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParamsMethods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
requiresCollectionMethods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Constructor Details
-
Update
public Update() -
Update
-
-
Method Details
-
getRequestParameters
-
getContentWriter
Description copied from class:SolrRequestIf a request object wants to do a push write, implement this method.- Overrides:
getContentWriterin classSolrRequest<SchemaResponse.UpdateResponse>- Parameters:
expectedType- This is the type that the RequestWriter would like to get. But, it is OK to send any format
-
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<SchemaResponse.UpdateResponse>- Parameters:
namedList- fromSolrClient.request(SolrRequest, String).
-