public class MultiContentWriterRequest extends AbstractUpdateRequest
AbstractUpdateRequest.ACTIONSolrRequest.METHODcommitWithin, paramsSUPPORTED_METHODS, useBinaryV2, usev2| 构造器和说明 |
|---|
MultiContentWriterRequest(SolrRequest.METHOD m,
String path,
Iterator<Pair<NamedList,Object>> payload) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
detect(Object o) |
RequestWriter.ContentWriter |
getContentWriter(String expectedType)
If a request object wants to do a push write, implement this method.
|
static ByteBuffer |
readByteBuffer(InputStream is) |
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 RequestWriter.ContentWriter getContentWriter(String expectedType)
SolrRequestgetContentWriter 在类中 SolrRequest<UpdateResponse>expectedType - This is the type that the RequestWriter would like to get. But, it is OK to send any formatpublic static String detect(Object o) throws IOException
IOExceptionpublic static ByteBuffer readByteBuffer(InputStream is) throws IOException
IOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.