org.gcube.dataanalysis.executor.nodes.algorithms
Class AquamapsSuitableFunctions
java.lang.Object
org.gcube.dataanalysis.executor.nodes.algorithms.AquamapsSuitableFunctions
public class AquamapsSuitableFunctions
- extends Object
|
Constructor Summary |
AquamapsSuitableFunctions(org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core,
String type,
org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
|
|
Method Summary |
float |
calcProb(Object species,
Object area)
|
HashMap<String,Integer> |
calculateBoundingBox(Object[] csquarecode)
|
void |
dumpAll(String path)
|
String |
getAdditionalInformation(Object species,
Object area)
|
void |
getBoundingBoxInformation(Object[] speciesInfoRow,
Object[] speciesObservations)
|
static String |
getGeographicalID(Object geoInfo)
|
static String |
getMainInfoID(Object speciesInfo)
|
void |
rebuildAll(int cellOrdinal,
int chunksize,
int speciesOrdinal,
int speciesChunkSize,
String pathToFiles)
|
void |
rebuildConfig(String configFile)
|
static void |
writeOnDB(List<String> buffer,
String destinationTable,
org.hibernate.SessionFactory dbHibConnection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
countAllSpeciesQuery
public static String countAllSpeciesQuery
countAll
public static String countAll
countCsquareCodeQuery
public static String countCsquareCodeQuery
selectAllSpeciesQuery
public static String selectAllSpeciesQuery
csquareCodeQuery
public static String csquareCodeQuery
createTableStatement
public static String createTableStatement
metainfo
public static String metainfo
selectAllSpeciesObservationQuery
public static String selectAllSpeciesObservationQuery
probabilityInsertionStatement
public static String probabilityInsertionStatement
deleteDuplicates
public static String deleteDuplicates
allSpeciesObservations
public HashMap<String,List<Object>> allSpeciesObservations
speciesVectors
public List<Object> speciesVectors
environmentVectors
public List<Object> environmentVectors
numberOfSpecies
public int numberOfSpecies
numberOfCells
public int numberOfCells
currentconfig
public org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration currentconfig
currentSpeciesBoundingBoxInfo
public HashMap<String,String> currentSpeciesBoundingBoxInfo
currentFAOAreas
public String currentFAOAreas
core
public org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core
type
public String type
processedAreas
public HashMap<String,Object> processedAreas
completeDistribution
public ConcurrentHashMap<String,Map<String,Float>> completeDistribution
AquamapsSuitableFunctions
public AquamapsSuitableFunctions(org.gcube.dataanalysis.ecoengine.spatialdistributions.AquamapsAlgorithmCore core,
String type,
org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config)
calcProb
public float calcProb(Object species,
Object area)
calculateBoundingBox
public HashMap<String,Integer> calculateBoundingBox(Object[] csquarecode)
getBoundingBoxInformation
public void getBoundingBoxInformation(Object[] speciesInfoRow,
Object[] speciesObservations)
writeOnDB
public static void writeOnDB(List<String> buffer,
String destinationTable,
org.hibernate.SessionFactory dbHibConnection)
dumpAll
public void dumpAll(String path)
throws Exception
- Throws:
Exception
rebuildConfig
public void rebuildConfig(String configFile)
throws Exception
- Throws:
Exception
rebuildAll
public void rebuildAll(int cellOrdinal,
int chunksize,
int speciesOrdinal,
int speciesChunkSize,
String pathToFiles)
throws Exception
- Throws:
Exception
getAdditionalInformation
public String getAdditionalInformation(Object species,
Object area)
getMainInfoID
public static String getMainInfoID(Object speciesInfo)
getGeographicalID
public static String getGeographicalID(Object geoInfo)
Copyright © 2013. All Rights Reserved.