Package org.apache.solr.client.solrj
Class SolrResponse
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrResponse
-
- All Implemented Interfaces:
Serializable,MapSerializable,MapWriter,NavigableObject
- 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.MapWriter
MapWriter.EntryWriter
-
-
Constructor Summary
Constructors Constructor Description SolrResponse()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SolrResponsedeserialize(byte[] bytes)Deprecated.abstract longgetElapsedTime()Elapsed time in milliseconds for the request as seen from the client.ExceptiongetException()abstract NamedList<Object>getResponse()static byte[]serializable(SolrResponse response)Deprecated.abstract voidsetElapsedTime(long elapsedTime)abstract voidsetResponse(NamedList<Object> rsp)voidwriteMap(MapWriter.EntryWriter ew)-
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, _size
-
-
-
-
Method Detail
-
getElapsedTime
public abstract long getElapsedTime()
Elapsed time in milliseconds for the request as seen from the client.
-
setElapsedTime
public abstract void setElapsedTime(long elapsedTime)
-
writeMap
public void writeMap(MapWriter.EntryWriter ew) throws IOException
- Specified by:
writeMapin interfaceMapWriter- Throws:
IOException
-
getException
public Exception getException()
-
serializable
@Deprecated public static byte[] serializable(SolrResponse response)
Deprecated.
-
deserialize
@Deprecated public static SolrResponse deserialize(byte[] bytes)
Deprecated.
-
-