org.gcube.dataanalysis.ecoengine.transducers
Class OccurrencePointsDuplicatesDeleter

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.transducers.OccurrencePointsMerger
      extended by org.gcube.dataanalysis.ecoengine.transducers.OccurrencePointsDuplicatesDeleter
All Implemented Interfaces:
ComputationalAgent, Transducerer

public class OccurrencePointsDuplicatesDeleter
extends OccurrencePointsMerger


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.dataanalysis.ecoengine.transducers.OccurrencePointsMerger
OccurrencePointsMerger.OccurrenceRecord
 
Field Summary
 
Fields inherited from class org.gcube.dataanalysis.ecoengine.transducers.OccurrencePointsMerger
columns, columnsNames, confidenceValue, config, dbconnection, eventDatFld, finalTableLabel, finalTableName, finalTableNameL, latFld, leftTableName, lonFld, modifDatFld, objectstodelete, objectstoinsert, recordedByFld, records_left, records_right, rightTableName, scientificNameFld, spatialToleranceValue, status
 
Constructor Summary
OccurrencePointsDuplicatesDeleter()
           
 
Method Summary
 void compute()
           
 String getDescription()
           
 List<StatisticalType> getInputParameters()
           
 void init()
           
protected  boolean isBetterThan(OccurrencePointsMerger.OccurrenceRecord leftOcc, OccurrencePointsMerger.OccurrenceRecord rightOcc)
           
protected  void prepareFinalTable()
           
 
Methods inherited from class org.gcube.dataanalysis.ecoengine.transducers.OccurrencePointsMerger
convert2conventionalFormat, extProb, extractColumnNames, getInfrastructure, getOutput, getResourceLoad, getResources, getStatus, main, manageHighProbability, manageLowProbability, occurrenceRecord2String, persist, probabilityDates, probabilityStrings, row2OccurrenceRecord, setConfiguration, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OccurrencePointsDuplicatesDeleter

public OccurrencePointsDuplicatesDeleter()
Method Detail

getInputParameters

public List<StatisticalType> getInputParameters()
Specified by:
getInputParameters in interface ComputationalAgent
Overrides:
getInputParameters in class OccurrencePointsMerger

getDescription

public String getDescription()
Specified by:
getDescription in interface ComputationalAgent
Overrides:
getDescription in class OccurrencePointsMerger

init

public void init()
          throws Exception
Specified by:
init in interface ComputationalAgent
Overrides:
init in class OccurrencePointsMerger
Throws:
Exception

isBetterThan

protected boolean isBetterThan(OccurrencePointsMerger.OccurrenceRecord leftOcc,
                               OccurrencePointsMerger.OccurrenceRecord rightOcc)

prepareFinalTable

protected void prepareFinalTable()
                          throws Exception
Overrides:
prepareFinalTable in class OccurrencePointsMerger
Throws:
Exception

compute

public void compute()
             throws Exception
Specified by:
compute in interface ComputationalAgent
Overrides:
compute in class OccurrencePointsMerger
Throws:
Exception


Copyright © 2012. All Rights Reserved.