Class QueryingApi.Query
- java.lang.Object
- 
- org.apache.solr.client.solrj.SolrRequest<QueryingApi.QueryResponse>
- 
- org.apache.solr.client.solrj.request.QueryingApi.Query
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Enclosing class:
- QueryingApi
 
 public static class QueryingApi.Query extends SolrRequest<QueryingApi.QueryResponse> - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequestSolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.client.solrj.SolrRequestSUPPORTED_METHODS, useBinaryV2, usev2
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QueryingApi.QueryResponsecreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the serverSolrRequest.ApiVersiongetApiVersion()Indicates which API version this request will makeSolrParamsgetParams()StringgetRequestType()This method defines the type of this Solr request.ResponseParsergetResponseParser()voidsetFl(String fl)voidsetFq(List<String> fq)voidsetQ(String q)voidsetRows(Integer rows)- 
Methods inherited from class org.apache.solr.client.solrj.SolrRequestaddHeader, addHeaders, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getStreamingResponseCallback, getUserPrincipal, process, process, requiresCollection, setBasePath, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
 
- 
 
- 
- 
- 
Method Detail- 
setQpublic void setQ(String q) 
 - 
setFlpublic void setFl(String fl) 
 - 
setRowspublic void setRows(Integer rows) 
 - 
getRequestTypepublic String getRequestType() Description copied from class:SolrRequestThis method defines the type of this Solr request.- Specified by:
- getRequestTypein class- SolrRequest<QueryingApi.QueryResponse>
 
 - 
getApiVersionpublic SolrRequest.ApiVersion getApiVersion() Description copied from class:SolrRequestIndicates which API version this request will makeDefaults implementation returns 'V1'. - Overrides:
- getApiVersionin class- SolrRequest<QueryingApi.QueryResponse>
 
 - 
getParamspublic SolrParams getParams() - Specified by:
- getParamsin class- SolrRequest<QueryingApi.QueryResponse>
 
 - 
createResponseprotected QueryingApi.QueryResponse createResponse(SolrClient client) Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
- createResponsein class- SolrRequest<QueryingApi.QueryResponse>
- Parameters:
- client- the- SolrClientthe request will be sent to
 
 - 
getResponseParserpublic ResponseParser getResponseParser() - Overrides:
- getResponseParserin class- SolrRequest<QueryingApi.QueryResponse>
- Returns:
- The ResponseParser
 
 
- 
 
-