public class AnalyticsShardResponseWriter extends Object implements BinaryQueryResponseWriter
AnalyticsShardResponseParser initialized with the same analytics request
 as the shard request was sent.| Modifier and Type | Class and Description | 
|---|---|
| static class  | AnalyticsShardResponseWriter.AnalyticsResponseManages the streaming of analytics reduction data if no exception occurred. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | ANALYTICS_MANGER | 
| static String | NAME | 
CONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8| Constructor and Description | 
|---|
| AnalyticsShardResponseWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getContentType(SolrQueryRequest request,
              SolrQueryResponse response) | 
| void | init(NamedList args) | 
| void | write(OutputStream out,
     SolrQueryRequest req,
     SolrQueryResponse response) | 
| void | write(Writer writer,
     SolrQueryRequest request,
     SolrQueryResponse response) | 
public static final String NAME
public static final String ANALYTICS_MANGER
public void write(OutputStream out, SolrQueryRequest req, SolrQueryResponse response) throws IOException
write in interface BinaryQueryResponseWriterIOExceptionpublic void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException
write in interface QueryResponseWriterIOExceptionpublic String getContentType(SolrQueryRequest request, SolrQueryResponse response)
getContentType in interface QueryResponseWriterpublic void init(NamedList args)
init in interface QueryResponseWriterinit in interface NamedListInitializedPluginCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.