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.AnalyticsResponse
Manages 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 BinaryQueryResponseWriter
IOException
public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException
write
in interface QueryResponseWriter
IOException
public String getContentType(SolrQueryRequest request, SolrQueryResponse response)
getContentType
in interface QueryResponseWriter
public void init(NamedList args)
init
in interface QueryResponseWriter
init
in interface NamedListInitializedPlugin
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.