Package org.apache.solr.response
Interface BinaryQueryResponseWriter
- All Superinterfaces:
NamedListInitializedPlugin,QueryResponseWriter
- All Known Implementing Classes:
BinaryResponseWriter,CborResponseWriter,JacksonJsonWriter,PrometheusResponseWriter,RawResponseWriter,SmileResponseWriter
Implementations of
BinaryQueryResponseWriter are used to write response in binary
format.
Functionality is exactly same as its parent class QueryResponseWriter But it may
not implement the
write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) method
-
Field Summary
Fields inherited from interface org.apache.solr.response.QueryResponseWriter
CONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8 -
Method Summary
Modifier and TypeMethodDescriptiondefault Stringvoidwrite(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) Use it to write the response in a binary formatMethods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
initMethods inherited from interface org.apache.solr.response.QueryResponseWriter
getContentType, write
-
Method Details
-
write
void write(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) throws IOException Use it to write the response in a binary format- Throws:
IOException
-
serializeResponse
-