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,org.noggit.JSONWriter.Writable
- Direct Known Subclasses:
InputStreamResponse
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongElapsed time in milliseconds for the request as seen from the client.voidsetElapsedTime(long elapsedTime) voidsetResponse(NamedList<Object> rsp) Methods inherited from class org.apache.solr.client.solrj.SolrResponse
getException, writeMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Field Details
-
elapsedTime
public long elapsedTime -
nl
-
-
Constructor Details
-
SimpleSolrResponse
public SimpleSolrResponse()
-
-
Method Details
-
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
- Specified by:
getResponsein classSolrResponse
-
setResponse
- Specified by:
setResponsein classSolrResponse
-
setElapsedTime
public void setElapsedTime(long elapsedTime) - Specified by:
setElapsedTimein classSolrResponse
-