Package org.apache.solr.response
Class SmileResponseWriter
java.lang.Object
org.apache.solr.response.BinaryResponseWriter
org.apache.solr.response.SmileResponseWriter
- All Implemented Interfaces:
BinaryQueryResponseWriter,QueryResponseWriter,NamedListInitializedPlugin
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.solr.response.BinaryResponseWriter
BinaryResponseWriter.Resolver -
Field Summary
Fields inherited from interface org.apache.solr.response.QueryResponseWriter
CONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) Use it to write the response in a binary formatMethods inherited from class org.apache.solr.response.BinaryResponseWriter
getContentType, getParsedResponse, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.response.BinaryQueryResponseWriter
serializeResponseMethods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
Constructor Details
-
SmileResponseWriter
public SmileResponseWriter()
-
-
Method Details
-
write
public void write(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) throws IOException Description copied from interface:BinaryQueryResponseWriterUse it to write the response in a binary format- Specified by:
writein interfaceBinaryQueryResponseWriter- Overrides:
writein classBinaryResponseWriter- Throws:
IOException
-