Class AnalyticsComponent
- java.lang.Object
-
- org.apache.solr.handler.component.SearchComponent
-
- org.apache.solr.handler.component.AnalyticsComponent
-
- All Implemented Interfaces:
AutoCloseable,SolrInfoBean,SolrMetricProducer,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 StringCOMPONENT_NAME-
Fields inherited from class org.apache.solr.handler.component.SearchComponent
solrMetricsContext, standard_components
-
-
Constructor Summary
Constructors Constructor Description AnalyticsComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdistributedProcess(ResponseBuilder rb)voidfinishStage(ResponseBuilder rb)StringgetDescription()StringgetName()voidhandleResponses(ResponseBuilder rb, ShardRequest sreq)voidinit(org.apache.solr.common.util.NamedList<?> args)voidmodifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)voidprepare(ResponseBuilder rb)voidprocess(ResponseBuilder rb)-
Methods inherited from class org.apache.solr.handler.component.SearchComponent
getCategory, getSolrMetricsContext, initializeMetrics, 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.metrics.SolrMetricProducer
close
-
-
-
-
Field Detail
-
COMPONENT_NAME
public static final String COMPONENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(org.apache.solr.common.util.NamedList<?> args)
-
prepare
public void prepare(ResponseBuilder rb) throws IOException
- Specified by:
preparein classSearchComponent- Throws:
IOException
-
process
public void process(ResponseBuilder rb) throws IOException
- Specified by:
processin classSearchComponent- Throws:
IOException
-
distributedProcess
public int distributedProcess(ResponseBuilder rb) throws IOException
- Overrides:
distributedProcessin classSearchComponent- Throws:
IOException
-
modifyRequest
public void modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)
- Overrides:
modifyRequestin classSearchComponent
-
handleResponses
public void handleResponses(ResponseBuilder rb, ShardRequest sreq)
- Overrides:
handleResponsesin classSearchComponent
-
finishStage
public void finishStage(ResponseBuilder rb)
- Overrides:
finishStagein classSearchComponent
-
getName
public String getName()
- Specified by:
getNamein interfaceSolrInfoBean- Overrides:
getNamein classSearchComponent
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classSearchComponent
-
-