Class AnalyticsComponent
- java.lang.Object
-
- org.apache.solr.handler.component.SearchComponent
-
- org.apache.solr.handler.component.AnalyticsComponent
-
- All Implemented Interfaces:
SolrInfoBean
,NamedListInitializedPlugin
public class AnalyticsComponent extends SearchComponent
Computes analytics requests.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_NAME
-
Fields inherited from class org.apache.solr.handler.component.SearchComponent
metricNames, registry, standard_components
-
-
Constructor Summary
Constructors Constructor Description AnalyticsComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
distributedProcess(ResponseBuilder rb)
void
finishStage(ResponseBuilder rb)
String
getDescription()
String
getName()
void
handleResponses(ResponseBuilder rb, ShardRequest sreq)
void
init(NamedList args)
void
modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)
void
prepare(ResponseBuilder rb)
void
process(ResponseBuilder rb)
-
Methods inherited from class org.apache.solr.handler.component.SearchComponent
getCategory, getMetricNames, getMetricRegistry, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.core.SolrInfoBean
getMetricsSnapshot, registerMetricName
-
-
-
-
Field Detail
-
COMPONENT_NAME
public static final String COMPONENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(NamedList args)
- Specified by:
init
in interfaceNamedListInitializedPlugin
- Overrides:
init
in classSearchComponent
-
prepare
public void prepare(ResponseBuilder rb) throws IOException
- Specified by:
prepare
in classSearchComponent
- Throws:
IOException
-
process
public void process(ResponseBuilder rb) throws IOException
- Specified by:
process
in classSearchComponent
- Throws:
IOException
-
distributedProcess
public int distributedProcess(ResponseBuilder rb) throws IOException
- Overrides:
distributedProcess
in classSearchComponent
- Throws:
IOException
-
modifyRequest
public void modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)
- Overrides:
modifyRequest
in classSearchComponent
-
handleResponses
public void handleResponses(ResponseBuilder rb, ShardRequest sreq)
- Overrides:
handleResponses
in classSearchComponent
-
finishStage
public void finishStage(ResponseBuilder rb)
- Overrides:
finishStage
in classSearchComponent
-
getName
public String getName()
- Specified by:
getName
in interfaceSolrInfoBean
- Overrides:
getName
in classSearchComponent
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceSolrInfoBean
- Specified by:
getDescription
in classSearchComponent
-
-