Package org.exoplatform.analytics.es
Class AnalyticsIndexingServiceConnector
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.search.index.IndexingServiceConnector
org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
org.exoplatform.analytics.es.AnalyticsIndexingServiceConnector
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.picocontainer.Startable
public class AnalyticsIndexingServiceConnector
extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
implements org.picocontainer.Startable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final org.exoplatform.commons.api.settings.data.Contextstatic final Stringstatic final Stringstatic final org.exoplatform.commons.api.settings.data.ScopeFields inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
currentIndex, indexAlias, mapping, previousIndex, reindexOnUpgrade, replicas, shardsFields inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector
connectorName, enableFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionAnalyticsIndexingServiceConnector(org.exoplatform.analytics.api.service.StatisticDataQueueService analyticsQueueService, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.container.xml.InitParams initParams) -
Method Summary
Methods inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
delete, getAttachmentProcessor, getCurrentIndex, getIndexAlias, getPipelineName, getPreviousIndex, getReplicas, getShards, isNeedIngestPipeline, isReindexOnUpgrade, setPreviousIndex, setReplicas, setShardsMethods inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector
isEnable, setEnableMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
DEFAULT_ES_INDEX_TEMPLATE
- See Also:
-
DEFAULT_ES_ANALYTICS_INDEX_NAME
- See Also:
-
ES_ANALYTICS_INDEX_PREFIX
- See Also:
-
ES_ANALYTICS_INDEX_TEMPLATE
- See Also:
-
ES_ANALYTICS_CONTEXT
public static final org.exoplatform.commons.api.settings.data.Context ES_ANALYTICS_CONTEXT -
ES_ANALYTICS_SCOPE
public static final org.exoplatform.commons.api.settings.data.Scope ES_ANALYTICS_SCOPE
-
-
Constructor Details
-
AnalyticsIndexingServiceConnector
public AnalyticsIndexingServiceConnector(org.exoplatform.analytics.api.service.StatisticDataQueueService analyticsQueueService, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
getConnectorName
- Specified by:
getConnectorNamein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
getMapping
- Overrides:
getMappingin classorg.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
create
- Specified by:
createin classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
update
- Specified by:
updatein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
getAllIds
- Specified by:
getAllIdsin classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
getIndexPrefix
-
getIndexTemplate
-
storeCreatedIndexTemplate
public void storeCreatedIndexTemplate()
-