Class BionymFlexibleWorkflowTransducer
- java.lang.Object
-
- org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
- org.gcube.dataanalysis.executor.nodes.transducers.bionym.BionymFlexibleWorkflowTransducer
-
- All Implemented Interfaces:
org.gcube.dataanalysis.ecoengine.interfaces.AlgorithmDescriptor,org.gcube.dataanalysis.ecoengine.interfaces.GenericAlgorithm
- Direct Known Subclasses:
BionymBiodiv
public class BionymFlexibleWorkflowTransducer extends org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
-
Field Summary
Fields Modifier and Type Field Description protected org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfigurationcurrentconfigprotected org.hibernate.SessionFactorydbconnectionstatic StringdestinationTableLableParamstatic StringdestinationTableParamstatic Stringheadersstatic StringmatcherParamPrefixstatic intmaxMatchersInterfacestatic intmaxMatchersRealstatic StringmaxresultsParamPrefixstatic StringoriginTableParamintprevbroadcastTimePeriodintprevmaxMessagesintprevmaxNumberOfStagesstatic StringrawnamesColumnParamintrawnamescountstatic StringthresholdParamPrefix
-
Constructor Summary
Constructors Constructor Description BionymFlexibleWorkflowTransducer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Matcher>buildMatcherList(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config, String sandboxFolder, HashMap<String,String> globalparameters)intexecuteNode(int leftStartIndex, int numberOfLeftElementsToProcess, int rightStartIndex, int numberOfRightElementsToProcess, boolean duplicate, String sandboxFolder, String nodeConfigurationFileObject, String logfileNameToProduce)StringgetDescription()static MatchergetEnum2Matcher(YasmeenGlobalParameters.BuiltinMatchers matcher, String sandboxFolder, double threshold, int maxResults, HashMap<String,String> parameters)List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType>getInputParameters()floatgetInternalStatus()StringgetName()intgetNumberOfLeftElements()intgetNumberOfRightElements()org.gcube.dataanalysis.ecoengine.datatypes.StatisticalTypegetOutput()org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[]getProperties()voidinitSingleNode(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)voidpostProcess(boolean manageDuplicates, boolean manageFault)voidsetup(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)voidstop()
-
-
-
Field Detail
-
currentconfig
protected org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration currentconfig
-
dbconnection
protected org.hibernate.SessionFactory dbconnection
-
prevbroadcastTimePeriod
public int prevbroadcastTimePeriod
-
prevmaxNumberOfStages
public int prevmaxNumberOfStages
-
prevmaxMessages
public int prevmaxMessages
-
headers
public static String headers
-
rawnamescount
public int rawnamescount
-
destinationTableParam
public static String destinationTableParam
-
destinationTableLableParam
public static String destinationTableLableParam
-
originTableParam
public static String originTableParam
-
rawnamesColumnParam
public static String rawnamesColumnParam
-
matcherParamPrefix
public static String matcherParamPrefix
-
thresholdParamPrefix
public static String thresholdParamPrefix
-
maxresultsParamPrefix
public static String maxresultsParamPrefix
-
maxMatchersInterface
public static int maxMatchersInterface
-
maxMatchersReal
public static int maxMatchersReal
-
-
Method Detail
-
getEnum2Matcher
public static Matcher getEnum2Matcher(YasmeenGlobalParameters.BuiltinMatchers matcher, String sandboxFolder, double threshold, int maxResults, HashMap<String,String> parameters)
-
buildMatcherList
public List<Matcher> buildMatcherList(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config, String sandboxFolder, HashMap<String,String> globalparameters)
-
getProperties
public org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] getProperties()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getInputParameters
public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getInputParameters()
-
getOutput
public org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
-
initSingleNode
public void initSingleNode(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
- Specified by:
initSingleNodein classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
getInternalStatus
public float getInternalStatus()
- Specified by:
getInternalStatusin classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
executeNode
public int executeNode(int leftStartIndex, int numberOfLeftElementsToProcess, int rightStartIndex, int numberOfRightElementsToProcess, boolean duplicate, String sandboxFolder, String nodeConfigurationFileObject, String logfileNameToProduce)- Specified by:
executeNodein classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
setup
public void setup(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config) throws Exception- Specified by:
setupin classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode- Throws:
Exception
-
getNumberOfRightElements
public int getNumberOfRightElements()
- Specified by:
getNumberOfRightElementsin classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
getNumberOfLeftElements
public int getNumberOfLeftElements()
- Specified by:
getNumberOfLeftElementsin classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
stop
public void stop()
- Specified by:
stopin classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
postProcess
public void postProcess(boolean manageDuplicates, boolean manageFault)- Specified by:
postProcessin classorg.gcube.dataanalysis.ecoengine.interfaces.ActorNode
-
-