public class StreamingUpdateRequest extends AbstractUpdateRequest
AbstractUpdateRequest.ACTIONSolrRequest.METHODcommitWithin, paramsSUPPORTED_METHODS, useBinaryV2, usev2| Constructor and Description |
|---|
StreamingUpdateRequest(String path,
File f,
String contentType) |
StreamingUpdateRequest(String path,
RequestWriter.ContentWriter contentWriter) |
StreamingUpdateRequest(String path,
String content,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
createResponse, getAction, getCommitWithin, getParams, isWaitSearcher, rollback, setAction, setAction, setAction, setAction, setAction, setAction, setAction, setCommitWithin, setParam, setParams, setWaitSearcheraddHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2public StreamingUpdateRequest(String path, RequestWriter.ContentWriter contentWriter)
public StreamingUpdateRequest(String path, String content, String contentType)
public RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequestgetContentWriter in class SolrRequest<UpdateResponse>expectedType - This is the type that the RequestWriter would like to get. But, it is OK to send any formatCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.