public abstract class SolrResponse extends Object implements Serializable, MapWriter
MapWriter.EntryWriter
Constructor and Description |
---|
SolrResponse() |
Modifier and Type | Method and 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) |
void |
writeMap(MapWriter.EntryWriter ew) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public abstract long getElapsedTime()
public abstract void setElapsedTime(long elapsedTime)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
IOException
public Exception getException()
public static byte[] serializable(SolrResponse response)
public static SolrResponse deserialize(byte[] bytes)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.