Interface AggregatorPersistenceSrc
-
- All Superinterfaces:
AggregatorPersistence
- All Known Implementing Classes:
PostgreSQLConnector,PostgreSQLConnectorDst,PostgreSQLConnectorSrc,PostgreSQLConnectorStatus
public interface AggregatorPersistenceSrc extends AggregatorPersistence
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteRecord(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode)voiddeleteRecords(org.gcube.com.fasterxml.jackson.databind.node.ArrayNode array)It must be implemented only and only if isBulkDeleteAllowed() return true.intgetEstimatedRecordRecordToBeAggregated(AggregationStatus aggregationStatus)ResultSetgetResultSetOfRecordToBeAggregated(AggregationStatus aggregationStatus)booleanisBulkDeleteAllowed()
-
-
-
Method Detail
-
getResultSetOfRecordToBeAggregated
ResultSet getResultSetOfRecordToBeAggregated(AggregationStatus aggregationStatus) throws Exception
- Throws:
Exception
-
deleteRecord
void deleteRecord(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode) throws Exception- Throws:
Exception
-
isBulkDeleteAllowed
boolean isBulkDeleteAllowed()
-
deleteRecords
void deleteRecords(org.gcube.com.fasterxml.jackson.databind.node.ArrayNode array) throws UnsupportedOperationException, ExceptionIt must be implemented only and only if isBulkDeleteAllowed() return true. It must raise UnsupportedOperationException if bulk delete is not allowed
-
getEstimatedRecordRecordToBeAggregated
int getEstimatedRecordRecordToBeAggregated(AggregationStatus aggregationStatus) throws Exception
- Throws:
Exception
-
-