Class SimpleSolrResponse
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrResponse
-
- org.apache.solr.client.solrj.response.SimpleSolrResponse
-
- All Implemented Interfaces:
Serializable,MapSerializable,MapWriter,NavigableObject
public class SimpleSolrResponse extends SolrResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
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, writeMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
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
-
-