Class AquamapsSuitableNode

  • All Implemented Interfaces:
    org.gcube.dataanalysis.ecoengine.interfaces.AlgorithmDescriptor, org.gcube.dataanalysis.ecoengine.interfaces.GenericAlgorithm
    Direct Known Subclasses:
    AquamapsNativeNode, AquamapsSuitable2050Node

    public class AquamapsSuitableNode
    extends org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
    • Field Detail

      • countSpeciesQuery

        protected String countSpeciesQuery
      • countCellsQuery

        protected String countCellsQuery
      • createTableStatement

        protected String createTableStatement
      • destinationTable

        protected String destinationTable
      • destinationTableLabel

        protected String destinationTableLabel
      • core

        protected org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core
      • currentconfig

        protected org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration currentconfig
      • dbHibConnection

        protected org.hibernate.SessionFactory dbHibConnection
    • Constructor Detail

      • AquamapsSuitableNode

        public AquamapsSuitableNode()
    • Method Detail

      • setup

        public void setup​(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
                   throws Exception
        Specified by:
        setup in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
        Throws:
        Exception
      • initSingleNode

        public void initSingleNode​(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
        Specified by:
        initSingleNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      • executeNode

        public int executeNode​(int cellOrdinal,
                               int chunksize,
                               int speciesOrdinal,
                               int speciesChunkSize,
                               boolean duplicate,
                               String pathToFiles,
                               String nodeConfigurationFileObject,
                               String logfile)
        Specified by:
        executeNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      • getInputParameters

        public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getInputParameters()
      • getInternalStatus

        public float getInternalStatus()
        Specified by:
        getInternalStatus in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      • getProperties

        public org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] getProperties()
      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • postProcess

        public void postProcess​(boolean manageDuplicates,
                                boolean manageFault)
        Specified by:
        postProcess in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      • singleStepPreprocess

        public void singleStepPreprocess​(Object species,
                                         boolean duplicate)
                                  throws Exception
        Throws:
        Exception
      • singleStepPostprocess

        public void singleStepPostprocess​(Object species)
      • getOutput

        public org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
      • getNumberOfRightElements

        public int getNumberOfRightElements()
        Specified by:
        getNumberOfRightElements in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      • getNumberOfLeftElements

        public int getNumberOfLeftElements()
        Specified by:
        getNumberOfLeftElements in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
      • stop

        public void stop()
        Specified by:
        stop in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode