Package org.apache.solr.client.solrj
Class SolrResponse
java.lang.Object
org.apache.solr.client.solrj.SolrResponse
- All Implemented Interfaces:
Serializable,MapSerializable,MapWriter,NavigableObject,org.noggit.JSONWriter.Writable
- Direct Known Subclasses:
SimpleSolrResponse,SolrResponseBase
- Since:
- solr 1.3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longElapsed time in milliseconds for the request as seen from the client.abstract voidsetElapsedTime(long elapsedTime) abstract voidsetResponse(NamedList<Object> rsp) voidWrites this object's entries out toew.Methods 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
-
Constructor Details
-
SolrResponse
public SolrResponse()
-
-
Method Details
-
getElapsedTime
public abstract long getElapsedTime()Elapsed time in milliseconds for the request as seen from the client. -
setResponse
-
setElapsedTime
public abstract void setElapsedTime(long elapsedTime) -
getResponse
-
writeMap
Description copied from interface:MapWriterWrites this object's entries out toew.- Specified by:
writeMapin interfaceMapWriter- Throws:
IOException
-
getException
-