org.gcube.dataanalysis.executor.nodes.transducers.bionym
Class BionymWorkflow
java.lang.Object
org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
org.gcube.dataanalysis.executor.nodes.transducers.bionym.BionymWorkflow
- All Implemented Interfaces:
- org.gcube.dataanalysis.ecoengine.interfaces.GenericAlgorithm
public class BionymWorkflow
- extends org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
|
Method Summary |
StringBuffer |
executeBionymWorkflow(String rawspeciesname,
String sandboxfolder,
String preprocessor,
boolean[] enablematchers,
float soundexweightF,
int maxResults,
float pruningThreshold)
|
int |
executeNode(int leftStartIndex,
int numberOfLeftElementsToProcess,
int rightStartIndex,
int numberOfRightElementsToProcess,
boolean duplicate,
String sandboxFolder,
String nodeConfigurationFileObject,
String logfileNameToProduce)
|
void |
filterMatchedTuples(List<org.gcube.dataanalysis.ecoengine.utils.Tuple<String>> tuples)
|
String |
getDescription()
|
List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> |
getInputParameters()
|
float |
getInternalStatus()
|
String |
getName()
|
int |
getNumberOfLeftElements()
|
int |
getNumberOfRightElements()
|
org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType |
getOutput()
|
org.gcube.dataanalysis.ecoengine.configuration.ALG_PROPS[] |
getProperties()
|
void |
initSingleNode(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
|
static void |
mainTEST(String[] args)
|
void |
postProcess(boolean manageDuplicates,
boolean manageFault)
|
void |
setup(org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
|
void |
stop()
|
| 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 |
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
destinationTableParam
public static String destinationTableParam
destinationTableLable
public static String destinationTableLable
originTableParam
public static String originTableParam
rawnamesColumnParam
public static String rawnamesColumnParam
parserParam
public static String parserParam
referenceParam
public static String referenceParam
soundexweightParam
public static String soundexweightParam
doPreprocessParam
public static String doPreprocessParam
maxMatchesParam
public static String maxMatchesParam
pruningThresholdParam
public static String pruningThresholdParam
BionymWorkflow
public BionymWorkflow()
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:
initSingleNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
getInternalStatus
public float getInternalStatus()
- Specified by:
getInternalStatus in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
filterMatchedTuples
public void filterMatchedTuples(List<org.gcube.dataanalysis.ecoengine.utils.Tuple<String>> tuples)
executeBionymWorkflow
public StringBuffer executeBionymWorkflow(String rawspeciesname,
String sandboxfolder,
String preprocessor,
boolean[] enablematchers,
float soundexweightF,
int maxResults,
float pruningThreshold)
throws Exception
- Throws:
Exception
executeNode
public int executeNode(int leftStartIndex,
int numberOfLeftElementsToProcess,
int rightStartIndex,
int numberOfRightElementsToProcess,
boolean duplicate,
String sandboxFolder,
String nodeConfigurationFileObject,
String logfileNameToProduce)
- Specified by:
executeNode in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
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
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
postProcess
public void postProcess(boolean manageDuplicates,
boolean manageFault)
- Specified by:
postProcess in class org.gcube.dataanalysis.ecoengine.interfaces.ActorNode
mainTEST
public static void mainTEST(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.