|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.solr.response.BaseResponseWriter
TextResponseWriter
or BinaryResponseWriter
see SOLR-2485
public abstract class BaseResponseWriter
This class serves as a basis from which QueryResponseWriter
s can be
developed. The class provides a single method
write(SingleResponseWriter, SolrQueryRequest, SolrQueryResponse)
that allows users to implement a BaseResponseWriter.SingleResponseWriter
sub-class which
defines how to output SolrInputDocument
s or a
SolrDocumentList
.
Nested Class Summary | |
---|---|
static class |
BaseResponseWriter.DocListInfo
Deprecated. |
static class |
BaseResponseWriter.SingleResponseWriter
Deprecated. Users wanting to define custom QueryResponseWriter s that deal with
SolrInputDocument s and SolrDocumentList should override the
methods for this class. |
Constructor Summary | |
---|---|
BaseResponseWriter()
Deprecated. |
Method Summary | |
---|---|
void |
init(NamedList args)
Deprecated. No ops implementation so that the implementing classes do not have to do it |
void |
write(BaseResponseWriter.SingleResponseWriter responseWriter,
SolrQueryRequest request,
SolrQueryResponse response)
Deprecated. The main method that allows users to write BaseResponseWriter.SingleResponseWriter s
and provide them as the initial parameter responseWriter to
this method which defines how output should be generated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseResponseWriter()
Method Detail |
---|
public void write(BaseResponseWriter.SingleResponseWriter responseWriter, SolrQueryRequest request, SolrQueryResponse response) throws IOException
BaseResponseWriter.SingleResponseWriter
s
and provide them as the initial parameter responseWriter
to
this method which defines how output should be generated.
responseWriter
- The user-provided BaseResponseWriter.SingleResponseWriter
implementation.request
- The provided SolrQueryRequest
.response
- The provided SolrQueryResponse
.
IOException
- If any error occurs.public void init(NamedList args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |