public class StreamHandler extends RequestHandlerBase implements SolrCoreAware, PermissionNameProvider
Solr Request Handler for streaming data.
It loads a default set of mappings via SolrDefaultStreamFactory
.
To add additional mappings, 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.TimerStream |
PermissionNameProvider.Name
SolrInfoBean.Category, SolrInfoBean.Group
appends, defaults, httpCaching, initArgs, invariants, solrMetricsContext
ANY, NULL, values
TYPE
Constructor and Description |
---|
StreamHandler() |
Modifier and Type | Method and Description |
---|---|
static SolrClientCache |
getClientCache() |
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, setPluginInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
close, getUniqueMetricTag, initializeMetrics
registerV1, registerV2
public PermissionNameProvider.Name getPermissionName(AuthorizationContext request)
getPermissionName
in interface PermissionNameProvider
public static SolrClientCache getClientCache()
public void inform(SolrCore core)
inform
in interface SolrCoreAware
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
handleRequestBody
in class RequestHandlerBase
Exception
public String getDescription()
SolrInfoBean
getDescription
in interface SolrInfoBean
getDescription
in class RequestHandlerBase
public String getSource()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.