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, confidence, confidenceValue, config, dbconnection, eventDateColumn, eventDatFld, finalTableLabel, finalTableName, finalTableNameF, finalTableNameL, firstbest, javaDateFormat, lastModificationColumn, latFld, latitudeColumn, leftRows, leftTableName, leftTableNameF, lonFld, longitudeColumn, modifDatFld, objectstodelete, objectstoinsert, recordedByColumn, recordedByFld, records_left, records_right, rightRows, rightTableName, rightTableNameF, scientificNameColumn, scientificNameFld, spatialTolerance, spatialToleranceValue, sqlDateFormat, status, tableNameF
 
Constructor Summary
OccurrencePointsDuplicatesDeleter()
           
 
Method Summary
 void computeOLD()
           
 void computeRange()
           
 String getDescription()
           
 List<StatisticalType> getInputParameters()
           
 void init()
           
protected  boolean isBetterThan(OccurrencePointsMerger.OccurrenceRecord leftOcc, OccurrencePointsMerger.OccurrenceRecord rightOcc)
           
 void postProcess()
           
protected  void prepareFinalTable()
           
 void takeFullRanges()
           
 void takeRange(int offsetLeft, int numLeft, int offsetRight, int numRight)
           
 
Methods inherited from class org.gcube.dataanalysis.ecoengine.transducers.OccurrencePointsMerger
compute, convert2conventionalFormat, extProb, extractColumnNames, getInfrastructure, getNumLeftObjects, getNumRightObjects, getOutput, getResourceLoad, getResources, getStatus, initDB, 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

takeFullRanges

public void takeFullRanges()
Overrides:
takeFullRanges in class OccurrencePointsMerger

takeRange

public void takeRange(int offsetLeft,
                      int numLeft,
                      int offsetRight,
                      int numRight)
Overrides:
takeRange in class OccurrencePointsMerger

computeRange

public void computeRange()
                  throws Exception
Overrides:
computeRange in class OccurrencePointsMerger
Throws:
Exception

computeOLD

public void computeOLD()
                throws Exception
Throws:
Exception

postProcess

public void postProcess()
                 throws Exception
Overrides:
postProcess in class OccurrencePointsMerger
Throws:
Exception


Copyright © 2012. All Rights Reserved.