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.Plugin
The SocialDataIndexerPlugin synchronizes and indexes data coming from the cassandra
cluster in the elasticsearch engine.
- Author:
- Costantino Perciante at ISTI-CNR, Luca Frosini (ISTI-CNR)
-
Field Summary
Fields inherited from class org.gcube.vremanagement.executor.plugin.Plugin
DESCRIPTION_PROPERTY, GROUP_PROPERTY, iterationNumber, NAME_PROPERTY, percentageSetter, PLUGIN_PROPERTIES_SUFFIX_FILENAME, properties, uuid, VERSION_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.gcube.vremanagement.executor.plugin.Plugin
getDescription, getGroup, getIterationNumber, getName, getSupportedCapabilities, getUUID, getVersion, setIterationNumber, setPercentageEvolution, setPercentageSetter, setUUID, stop
-
Constructor Details
-
SocialDataIndexerPlugin
public SocialDataIndexerPlugin()Default constructor.
-
-
Method Details
-
launch
- Specified by:
launchin classorg.gcube.vremanagement.executor.plugin.Plugin- Throws:
Exception- if the synchronization fails.
-
deleteDocumentsWithTimestampLowerThan
public void deleteDocumentsWithTimestampLowerThan(long timestamp) Delete disabled feeds in the index- Parameters:
timestamp- delete feeds whose _timestamp is lower than timestamp
-
onStop
- Specified by:
onStopin classorg.gcube.vremanagement.executor.plugin.Plugin- Throws:
Exception
-