public class ExportHandler extends SearchHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportHandler.ExportHandlerStreamFactory |
PermissionNameProvider.NameSolrInfoBean.Category, SolrInfoBean.Groupcomponentsappends, defaults, httpCaching, initArgs, invariants, solrMetricsContextANY, NULL, valuesTYPE| 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, registerV2getApis, getCategory, getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, setPluginInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNameclose, getUniqueMetricTag, initializeMetricsregisterV1public void initializeMetrics(SolrMetricsContext parentContext, String scope)
SolrMetricProducerinitializeMetrics in interface SolrMetricProducerinitializeMetrics in class RequestHandlerBaseparentContext - 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)
SearchHandlerINIT_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 SolrCoreAwareinform in class SearchHandlerpublic void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class SearchHandlerExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.