public class V2Request extends SolrRequest<V2Response> implements MapWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
V2Request.Builder |
SolrRequest.METHODMapWriter.EntryWriter| Modifier and Type | Field and Description |
|---|---|
boolean |
useBinary |
static ThreadLocal<AtomicLong> |
v2Calls |
SUPPORTED_METHODS, useBinaryV2, usev2| Modifier and Type | Method and Description |
|---|---|
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() |
boolean |
isPerCollectionRequest() |
void |
writeMap(MapWriter.EntryWriter ew) |
getBasicAuthPassword, getBasicAuthUser, getContentStreams, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2public static final ThreadLocal<AtomicLong> v2Calls
public final boolean useBinary
public SolrParams getParams()
getParams in class SolrRequest<V2Response>public RequestWriter.ContentWriter getContentWriter(String s)
SolrRequestgetContentWriter in class 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 in class SolrRequest<V2Response>protected V2Response createResponse(SolrClient client)
SolrRequestcreateResponse in class SolrRequest<V2Response>client - the SolrClient the request will be sent topublic void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap in interface MapWriterIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.