public class V2Request extends SolrRequest<V2Response>
Modifier and Type | Class and Description |
---|---|
static class |
V2Request.Builder |
SolrRequest.METHOD
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() |
Collection<ContentStream> |
getContentStreams() |
SolrParams |
getParams() |
boolean |
isPerCollectionRequest() |
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUseV2
public static final ThreadLocal<AtomicLong> v2Calls
public final boolean useBinary
public SolrParams getParams()
getParams
in class SolrRequest<V2Response>
public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams
in class SolrRequest<V2Response>
IOException
public boolean isPerCollectionRequest()
public String getCollection()
getCollection
in class SolrRequest<V2Response>
protected V2Response createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<V2Response>
client
- the SolrClient
the request will be sent toCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.