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)
Deprecated.
|
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)
Deprecated.
|
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()
@Deprecated public static byte[] serializable(SolrResponse response)
@Deprecated public static SolrResponse deserialize(byte[] bytes)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.