Class 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)
    • Constructor Detail

      • SocialDataIndexerPlugin

        public SocialDataIndexerPlugin()
    • Method Detail

      • launch

        public void launch​(Map<String,​Object> inputs)
                    throws Exception
        Specified by:
        launch in class org.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
      • onStop

        protected void onStop()
                       throws Exception
        Specified by:
        onStop in class org.gcube.vremanagement.executor.plugin.Plugin
        Throws:
        Exception