org.gcube.data.harmonization.occurrence
Interface Reconciliation

All Known Implementing Classes:
ReconciliationImpl

public interface Reconciliation


Method Summary
 void closeTableConnection()
          Closes current table connection if any
 List<StatisticalFeature> getCapabilities()
          Gets information about available operation on occurrence point data sets
 List<Resource> getDataSets()
           
 String getJSONImported(PagedRequestSettings settings)
          Get Json view of currently connected table
 File getResourceAsFile(String operationId, OperationType type)
          Save selected result to workspace
 OccurrenceStreamer getStreamer(File toStream, ParserConfiguration configuration, String tableName, String description)
          Instatiates an OccurrenceStreamer able to parse the passed File and send data to the Statistical Manager
 List<Computation> getSubmittedOperationList()
           
 String getTableUrl(String tableId)
          Returns connection url to the selected table
 List<String> openTableInspection(String tableId)
          Opens connection to a table for direct inspection
 void removeComputationById(String id)
           
 String submitOperation(StatisticalComputation comp, Map<String,String> parameters, String title, String description)
          Submits a computation to the statistical service
 

Method Detail

getDataSets

List<Resource> getDataSets()
                           throws Exception
Returns:
Throws:
Exception

getJSONImported

String getJSONImported(PagedRequestSettings settings)
                       throws Exception
Get Json view of currently connected table

Parameters:
importedId -
settings -
Returns:
Throws:
Exception

openTableInspection

List<String> openTableInspection(String tableId)
                                 throws Exception
Opens connection to a table for direct inspection

Parameters:
tableId -
Returns:
list of field of selected table
Throws:
Exception

closeTableConnection

void closeTableConnection()
                          throws Exception
Closes current table connection if any

Throws:
Exception

getTableUrl

String getTableUrl(String tableId)
                   throws Exception
Returns connection url to the selected table

Parameters:
tableId -
Returns:
Throws:
Exception

getCapabilities

List<StatisticalFeature> getCapabilities()
                                         throws Exception
Gets information about available operation on occurrence point data sets

Returns:
list of Statistical Operation, one for each available algorithm
Throws:
Exception

getResourceAsFile

File getResourceAsFile(String operationId,
                       OperationType type)
                       throws Exception
Save selected result to workspace

Parameters:
operationId -
Returns:
saved Item id
Throws:
Exception

submitOperation

String submitOperation(StatisticalComputation comp,
                       Map<String,String> parameters,
                       String title,
                       String description)
                       throws Exception
Submits a computation to the statistical service

Parameters:
comp -
parameters -
Returns:
Throws:
Exception

getSubmittedOperationList

List<Computation> getSubmittedOperationList()
                                            throws Exception
Returns:
submitted operation list
Throws:
Exception

getStreamer

OccurrenceStreamer getStreamer(File toStream,
                               ParserConfiguration configuration,
                               String tableName,
                               String description)
                               throws Exception
Instatiates an OccurrenceStreamer able to parse the passed File and send data to the Statistical Manager

Parameters:
toStream -
configuration -
tableName -
description -
Returns:
Throws:
Exception

removeComputationById

void removeComputationById(String id)
                           throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.