public class ExportHandler extends SearchHandler
Modifier and Type | Class and Description |
---|---|
static class |
ExportHandler.ExportHandlerStreamFactory |
PermissionNameProvider.Name
SolrInfoBean.Category, SolrInfoBean.Group
components
appends, defaults, httpCaching, initArgs, invariants, solrMetricsContext
ANY, NULL, values
TYPE
Constructor and Description |
---|
ExportHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core)
Initialize the components based on name.
|
void |
initializeMetrics(SolrMetricsContext parentContext,
String scope)
Initialize metrics specific to this producer.
|
getComponents, getDefaultComponents, getDescription, getOrGenerateRequestId, getPermissionName, init, newResponseBuilder, registerV2
getApis, getCategory, getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
close, getUniqueMetricTag, initializeMetrics
registerV1
public void initializeMetrics(SolrMetricsContext parentContext, String scope)
SolrMetricProducer
initializeMetrics
in interface SolrMetricProducer
initializeMetrics
in class RequestHandlerBase
parentContext
- parent metrics context. If this component has the same life-cycle as the parent
it can simply use the parent context, otherwise it should obtain a child context
using SolrMetricsContext.getChildContext(Object)
passing this
as the child.scope
- component scopepublic void inform(SolrCore core)
SearchHandler
INIT_FIRST_COMPONENTS
or INIT_LAST_COMPONENTS
,
then the DebugComponent
will always occur last. If this is not desired, then one must explicitly declare all components using
the INIT_COMPONENTS
syntax.inform
in interface SolrCoreAware
inform
in class SearchHandler
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class SearchHandler
Exception
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.