Package org.apache.solr.client.solrj
Class SolrResponse
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrResponse
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SimpleSolrResponse
,SolrResponseBase
public abstract class SolrResponse extends Object implements Serializable
- Since:
- solr 1.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SolrResponse()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static SolrResponse
deserialize(byte[] bytes)
abstract long
getElapsedTime()
Elapsed time in milliseconds for the request as seen from the client.Exception
getException()
abstract NamedList<Object>
getResponse()
static byte[]
serializable(SolrResponse response)
abstract void
setElapsedTime(long elapsedTime)
abstract void
setResponse(NamedList<Object> rsp)
-
-
-
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)
-
getException
public Exception getException()
-
serializable
public static byte[] serializable(SolrResponse response)
-
deserialize
public static SolrResponse deserialize(byte[] bytes)
-
-