org.gcube.dataanalysis.executor.nodes.algorithms
Class AquamapsSuitableNode
java.lang.Object
org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
org.gcube.dataanalysis.executor.nodes.algorithms.AquamapsSuitableNode
- All Implemented Interfaces:
- org.gcube.dataanalysis.ecoengine.interfaces.GenericAlgorithm
public class AquamapsSuitableNode
- extends org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
| Methods inherited from class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode |
main |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
countSpeciesQuery
protected String countSpeciesQuery
countCellsQuery
protected String countCellsQuery
createTableStatement
protected String createTableStatement
destinationTable
protected String destinationTable
destinationTableLabel
protected String destinationTableLabel
type
protected String type
core
protected org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core
currentconfig
protected org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration currentconfig
operations
protected AquamapsSuitableFunctions operations
dbHibConnection
protected org.hibernate.SessionFactory dbHibConnection
AquamapsSuitableNode
public AquamapsSuitableNode()
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()
filterProbabilitySet
public Queue<String> filterProbabilitySet(Queue<String> probabiltyRows)
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
main2
public static void main2(String[] args)
throws Exception
- Throws:
Exception
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
Copyright © 2013. All Rights Reserved.