Package org.apache.solr.handler
Class StreamHandler
- java.lang.Object
- 
- org.apache.solr.handler.RequestHandlerBase
- 
- org.apache.solr.handler.StreamHandler
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- ApiSupport,- SolrInfoBean,- NestedRequestHandler,- SolrMetricProducer,- SolrRequestHandler,- PermissionNameProvider,- SolrCoreAware
 
 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" />- Since:
- 5.1.0
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classStreamHandler.DaemonCollectionStreamstatic classStreamHandler.DaemonResponseStreamstatic classStreamHandler.DummyErrorStreamstatic classStreamHandler.ExpressibleHolderstatic classStreamHandler.TimerStream- 
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBaseRequestHandlerBase.HandlerMetrics
 - 
Nested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProviderPermissionNameProvider.Name
 - 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBeanSolrInfoBean.Category, SolrInfoBean.Group
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.handler.RequestHandlerBaseaggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, solrMetricsContext
 - 
Fields inherited from interface org.apache.solr.security.PermissionNameProviderANY, NULL, values
 - 
Fields inherited from interface org.apache.solr.request.SolrRequestHandlerTYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description StreamHandler()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddExpressiblePlugins(StreamFactory streamFactory, SolrCore core)StringgetDescription()Simple one or two line descriptionPermissionNameProvider.NamegetPermissionName(AuthorizationContext request)StringgetSource()voidhandleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)voidinform(SolrCore core)- 
Methods inherited from class org.apache.solr.handler.RequestHandlerBasegetApis, getCategory, getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, isInternalShardRequest, normalizeReceivedException, processErrorMetricsOnException, setPluginInfo
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.api.ApiSupportgetJerseyResources, registerV1, registerV2
 - 
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducerclose
 
- 
 
- 
- 
- 
Method Detail- 
getPermissionNamepublic PermissionNameProvider.Name getPermissionName(AuthorizationContext request) - Specified by:
- getPermissionNamein interface- PermissionNameProvider
 
 - 
informpublic void inform(SolrCore core) - Specified by:
- informin interface- SolrCoreAware
 
 - 
addExpressiblePluginspublic static void addExpressiblePlugins(StreamFactory streamFactory, SolrCore core) 
 - 
handleRequestBodypublic void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception - Specified by:
- handleRequestBodyin class- RequestHandlerBase
- Throws:
- Exception
 
 - 
getDescriptionpublic String getDescription() Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
- getDescriptionin interface- SolrInfoBean
- Specified by:
- getDescriptionin class- RequestHandlerBase
 
 - 
getSourcepublic String getSource() 
 
- 
 
-