Class SchemaRequest.MultiUpdate
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<T>
-
- org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest<T>
-
- org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest<SchemaResponse.UpdateResponse>
-
- org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
-
- org.apache.solr.client.solrj.request.schema.SchemaRequest.MultiUpdate
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SchemaRequest
public static class SchemaRequest.MultiUpdate extends SchemaRequest.Update
The Schema API offers the possibility to perform one or more add requests in a single command.The API is transactional and all commands in a single
SolrRequest.process(SolrClient, String)
call either succeed or fail together.- See Also:
- Serialized Form
-
-
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, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests)
MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests, SolrParams q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NamedList<Object>
getRequestParameters()
-
Methods inherited from class org.apache.solr.client.solrj.request.schema.SchemaRequest.Update
createResponse, getContentWriter
-
Methods inherited from class org.apache.solr.client.solrj.request.schema.AbstractSchemaRequest
getParams, getRequestType
-
Methods inherited from class org.apache.solr.client.solrj.request.CollectionRequiringSolrRequest
requiresCollection
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Constructor Detail
-
MultiUpdate
public MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests)
-
MultiUpdate
public MultiUpdate(List<SchemaRequest.Update> updateSchemaRequests, SolrParams q)
-
-
Method Detail
-
getRequestParameters
protected NamedList<Object> getRequestParameters()
- Specified by:
getRequestParameters
in classSchemaRequest.Update
-
-