public class StreamHandler extends RequestHandlerBase implements SolrCoreAware, PermissionNameProvider
Solr Request Handler for streaming data.
It loads a Solr specific set of streaming expression functions via SolrDefaultStreamFactory.
To add additional functions, just define them as plugins in solrconfig.xml via
<expressible name="count" class="org.apache.solr.client.solrj.io.stream.RecordCountStream" />
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamHandler.DaemonCollectionStream |
static class |
StreamHandler.DaemonResponseStream |
static class |
StreamHandler.DummyErrorStream |
static class |
StreamHandler.ExpressibleHolder |
static class |
StreamHandler.TimerStream |
PermissionNameProvider.NameSolrInfoBean.Category, SolrInfoBean.Groupappends, defaults, httpCaching, initArgs, invariants, solrMetricsContextANY, NULL, valuesTYPE| Constructor and Description |
|---|
StreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addExpressiblePlugins(StreamFactory streamFactory,
SolrCore core) |
String |
getDescription()
Simple one or two line description
|
PermissionNameProvider.Name |
getPermissionName(AuthorizationContext request) |
String |
getSource() |
void |
handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp) |
void |
inform(SolrCore core) |
getApis, getCategory, getInitArgs, getMetricNames, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, setPluginInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNameclose, getUniqueMetricTag, initializeMetricsregisterV1, registerV2public PermissionNameProvider.Name getPermissionName(AuthorizationContext request)
getPermissionName in interface PermissionNameProviderpublic void inform(SolrCore core)
inform in interface SolrCoreAwarepublic static void addExpressiblePlugins(StreamFactory streamFactory, SolrCore core)
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody in class RequestHandlerBaseExceptionpublic String getDescription()
SolrInfoBeangetDescription in interface SolrInfoBeangetDescription in class RequestHandlerBasepublic String getSource()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.