Class SocialDataIndexerPlugin
- java.lang.Object
-
- org.gcube.vremanagement.executor.plugin.Plugin
-
- org.gcube.socialnetworking.socialdataindexer.SocialDataIndexerPlugin
-
- All Implemented Interfaces:
org.gcube.vremanagement.executor.plugin.PluginDefinition
public class SocialDataIndexerPlugin extends org.gcube.vremanagement.executor.plugin.PluginThe SocialDataIndexerPlugin synchronizes and indexes data coming from the cassandra cluster in the elasticsearch engine.- Author:
- Costantino Perciante at ISTI-CNR, Luca Frosini (ISTI-CNR)
-
-
Constructor Summary
Constructors Constructor Description SocialDataIndexerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteDocumentsWithTimestampLowerThan(long timestamp)Delete disabled feeds in the indexvoidlaunch(Map<String,Object> inputs)protected voidonStop()
-
-
-
Method Detail
-
launch
public void launch(Map<String,Object> inputs) throws Exception
- Specified by:
launchin classorg.gcube.vremanagement.executor.plugin.Plugin- Throws:
Exception
-
deleteDocumentsWithTimestampLowerThan
public void deleteDocumentsWithTimestampLowerThan(long timestamp)
Delete disabled feeds in the index- Parameters:
timestamp- delete feeds whose _timestamp is lower than timestamp
-
-