Class SimpleSolrResponse
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrResponse
-
- org.apache.solr.client.solrj.response.SimpleSolrResponse
-
- All Implemented Interfaces:
Serializable
public class SimpleSolrResponse extends SolrResponse
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description long
elapsedTime
NamedList<Object>
nl
-
Constructor Summary
Constructors Constructor Description SimpleSolrResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getElapsedTime()
Elapsed time in milliseconds for the request as seen from the client.NamedList<Object>
getResponse()
void
setElapsedTime(long elapsedTime)
void
setResponse(NamedList<Object> rsp)
-
Methods inherited from class org.apache.solr.client.solrj.SolrResponse
deserialize, getException, serializable
-
-
-
-
Method Detail
-
getElapsedTime
public long getElapsedTime()
Description copied from class:SolrResponse
Elapsed time in milliseconds for the request as seen from the client.- Specified by:
getElapsedTime
in classSolrResponse
-
getResponse
public NamedList<Object> getResponse()
- Specified by:
getResponse
in classSolrResponse
-
setResponse
public void setResponse(NamedList<Object> rsp)
- Specified by:
setResponse
in classSolrResponse
-
setElapsedTime
public void setElapsedTime(long elapsedTime)
- Specified by:
setElapsedTime
in classSolrResponse
-
-