org.gcube.dataanalysis.geo.algorithms
Class MapsCreator

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
      extended by org.gcube.dataanalysis.geo.algorithms.MapsCreator
All Implemented Interfaces:
org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent, org.gcube.dataanalysis.ecoengine.interfaces.Transducerer
Direct Known Subclasses:
PointsMapsCreator, PolygonMapsCreator, SpeciesDistributionsMapsCreatorFromCsquares, SpeciesDistributionsMapsCreatorFromPoints

public abstract class MapsCreator
extends org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm


Field Summary
 
Fields inherited from class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
config, inputs, outputParameters, resourceManager, status
 
Constructor Summary
MapsCreator()
           
 
Method Summary
 String getDescription()
           
abstract  void init()
           
static void insertGeoChunksIntoTable(String table, String columnsNames, List<String[]> values, int chunkSize, org.hibernate.SessionFactory dbconnection)
           
protected  void process()
           
protected abstract  void setInputParameters()
           
 void shutdown()
           
 
Methods inherited from class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
addDoubleInput, addEnumerateInput, addIntegerInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getOutput, getResourceLoad, getResources, getStatus, log, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapsCreator

public MapsCreator()
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent
Specified by:
getDescription in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm

init

public abstract void init()
                   throws Exception
Specified by:
init in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent
Specified by:
init in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
Throws:
Exception

process

protected void process()
                throws Exception
Specified by:
process in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
Throws:
Exception

insertGeoChunksIntoTable

public static void insertGeoChunksIntoTable(String table,
                                            String columnsNames,
                                            List<String[]> values,
                                            int chunkSize,
                                            org.hibernate.SessionFactory dbconnection)
                                     throws Exception
Throws:
Exception

shutdown

public void shutdown()
Specified by:
shutdown in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent
Specified by:
shutdown in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm

setInputParameters

protected abstract void setInputParameters()
Specified by:
setInputParameters in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm


Copyright © 2014. All Rights Reserved.