public abstract class SolrResponse extends Object implements Serializable, MapWriter
MapWriter.EntryWriter| 构造器和说明 |
|---|
SolrResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, _sizepublic abstract long getElapsedTime()
public abstract void setElapsedTime(long elapsedTime)
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap 在接口中 MapWriterIOExceptionpublic Exception getException()
@Deprecated public static byte[] serializable(SolrResponse response)
@Deprecated public static SolrResponse deserialize(byte[] bytes)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.