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 longelapsedTimeNamedList<Object>nl
-
Constructor Summary
Constructors Constructor Description SimpleSolrResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetElapsedTime()Elapsed time in milliseconds for the request as seen from the client.NamedList<Object>getResponse()voidsetElapsedTime(long elapsedTime)voidsetResponse(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:SolrResponseElapsed time in milliseconds for the request as seen from the client.- Specified by:
getElapsedTimein classSolrResponse
-
getResponse
public NamedList<Object> getResponse()
- Specified by:
getResponsein classSolrResponse
-
setResponse
public void setResponse(NamedList<Object> rsp)
- Specified by:
setResponsein classSolrResponse
-
setElapsedTime
public void setElapsedTime(long elapsedTime)
- Specified by:
setElapsedTimein classSolrResponse
-
-