public abstract static class SchemaRequest.Update extends AbstractSchemaRequest<SchemaResponse.UpdateResponse>
SolrRequest.METHOD
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
Update() |
Update(SolrParams q) |
Modifier and Type | Method and Description |
---|---|
protected SchemaResponse.UpdateResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
protected abstract NamedList<Object> |
getRequestParameters() |
getParams
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
public Update()
public Update(SolrParams q)
public RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequest
getContentWriter
in class SolrRequest<SchemaResponse.UpdateResponse>
expectedType
- This is the type that the RequestWriter would like to get. But, it is OK to send any formatprotected SchemaResponse.UpdateResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<SchemaResponse.UpdateResponse>
client
- the SolrClient
the request will be sent toCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.