public class V2Request extends SolrRequest<V2Response> implements MapWriter
| 限定符和类型 | 类和说明 |
|---|---|
static class |
V2Request.Builder |
SolrRequest.METHODMapWriter.EntryWriter| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
useBinary |
static ThreadLocal<AtomicLong> |
v2Calls |
SUPPORTED_METHODS, useBinaryV2, usev2| 限定符和类型 | 方法和说明 |
|---|---|
protected V2Response |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
String |
getCollection() |
RequestWriter.ContentWriter |
getContentWriter(String s)
If a request object wants to do a push write, implement this method.
|
SolrParams |
getParams() |
ResponseParser |
getResponseParser() |
boolean |
isForceV2() |
boolean |
isPerCollectionRequest() |
void |
writeMap(MapWriter.EntryWriter ew) |
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getContentStreams, getHeaders, getMethod, getPath, getQueryParams, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _sizepublic static final ThreadLocal<AtomicLong> v2Calls
public final boolean useBinary
public boolean isForceV2()
public SolrParams getParams()
getParams 在类中 SolrRequest<V2Response>public RequestWriter.ContentWriter getContentWriter(String s)
SolrRequestgetContentWriter 在类中 SolrRequest<V2Response>s - This is the type that the RequestWriter would like to get. But, it is OK to send any formatpublic boolean isPerCollectionRequest()
public String getCollection()
getCollection 在类中 SolrRequest<V2Response>protected V2Response createResponse(SolrClient client)
SolrRequestcreateResponse 在类中 SolrRequest<V2Response>client - the SolrClient the request will be sent topublic void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap 在接口中 MapWriterIOExceptionpublic ResponseParser getResponseParser()
getResponseParser 在类中 SolrRequest<V2Response>ResponseParserCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.