Class ResourceCatalogueHarvester
java.lang.Object
org.gcube.dataharvest.harvester.BasicHarvester
org.gcube.dataharvest.harvester.sobigdata.SoBigDataHarvester
org.gcube.dataharvest.harvester.sobigdata.ResourceCatalogueHarvester
The Class ResourceCatalogueHarvester.
- Author:
- Eric Perrone (ISTI - CNR), Luca Frosini (ISTI - CNR), Francesco Mangiacrapa(ISTI - CNR)
-
Field Summary
FieldsFields inherited from class org.gcube.dataharvest.harvester.sobigdata.SoBigDataHarvester
contexts, mapCatalogueGroupToVRE, mapSystemTypeToDBEntry, mapWsFolderNameToVREFields inherited from class org.gcube.dataharvest.harvester.BasicHarvester
end, instant, start -
Constructor Summary
ConstructorsConstructorDescriptionResourceCatalogueHarvester(Date start, Date end, SortedSet<String> contexts) Instantiates a new resource catalogue harvester. -
Method Summary
Modifier and TypeMethodDescriptionExecute query.List<org.gcube.accounting.accounting.summary.access.model.update.AccountingRecord>protected StringGets the solr base url.requestJson(String url) Methods inherited from class org.gcube.dataharvest.harvester.sobigdata.SoBigDataHarvester
getMapCatalogueGroupToVRE, getMapSystemTypeToDBEntry, getMapWsFolderNameToVRE, getValidContexts, initMappingMaps, listGroupMethods inherited from class org.gcube.dataharvest.harvester.BasicHarvester
getDimension
-
Field Details
-
ROWS
public static int ROWS -
solrBaseUrl
-
-
Constructor Details
-
Method Details
-
getSolrBaseUrl
Gets the solr base url.- Returns:
- the solr base url
-
getAccountingRecords
public List<org.gcube.accounting.accounting.summary.access.model.update.AccountingRecord> getAccountingRecords() throws Exception- Specified by:
getAccountingRecordsin classBasicHarvester- Throws:
Exception
-
executeQueryFor
public String executeQueryFor(List<String> solrParameters, Date startDate, Date endDate, String flValue) throws Exception Execute query.- Parameters:
solrParameters- the solr parametersstartDate- the start dateendDate- the end dateflValue- the fl value- Returns:
- the string
- Throws:
Exception- the exception
-
requestJson
- Throws:
MalformedURLExceptionIOException
-