public class SolrResponseBase extends SolrResponse implements MapWriter
MapWriter.EntryWriter
Constructor and Description |
---|
SolrResponseBase() |
Modifier and Type | Method and Description |
---|---|
long |
getElapsedTime()
Elapsed time in milliseconds for the request as seen from the client.
|
int |
getQTime() |
String |
getRequestUrl() |
NamedList<Object> |
getResponse() |
NamedList |
getResponseHeader() |
int |
getStatus() |
void |
setElapsedTime(long elapsedTime) |
void |
setRequestUrl(String requestUrl) |
void |
setResponse(NamedList<Object> response) |
String |
toString() |
void |
writeMap(MapWriter.EntryWriter ew) |
deserialize, getException, serializable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap
in interface MapWriter
writeMap
in class SolrResponse
IOException
public long getElapsedTime()
SolrResponse
getElapsedTime
in class SolrResponse
public void setElapsedTime(long elapsedTime)
setElapsedTime
in class SolrResponse
public NamedList<Object> getResponse()
getResponse
in class SolrResponse
public void setResponse(NamedList<Object> response)
setResponse
in class SolrResponse
public NamedList getResponseHeader()
public int getStatus()
public int getQTime()
public String getRequestUrl()
public void setRequestUrl(String requestUrl)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.