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
 
 public abstract class SolrResponse extends Object implements Serializable, MapWriter - Since:
- solr 1.3
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriterMapWriter.EntryWriter
 
- 
 - 
Constructor SummaryConstructors Constructor Description SolrResponse()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract longgetElapsedTime()Elapsed time in milliseconds for the request as seen from the client.ExceptiongetException()abstract NamedList<Object>getResponse()abstract voidsetElapsedTime(long elapsedTime)abstract voidsetResponse(NamedList<Object> rsp)voidwriteMap(MapWriter.EntryWriter ew)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.common.NavigableObject_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _get, _getStr, _getStr, _getStr, _size
 
- 
 
- 
- 
- 
Method Detail- 
getElapsedTimepublic abstract long getElapsedTime() Elapsed time in milliseconds for the request as seen from the client.
 - 
setElapsedTimepublic abstract void setElapsedTime(long elapsedTime) 
 - 
writeMappublic void writeMap(MapWriter.EntryWriter ew) throws IOException - Specified by:
- writeMapin interface- MapWriter
- Throws:
- IOException
 
 - 
getExceptionpublic Exception getException() 
 
- 
 
-