Changed API due to change in implemented interface

This commit is contained in:
Luca Frosini 2021-03-22 15:40:08 +01:00
parent 94f4219852
commit 7c676e460d
1 changed files with 9 additions and 9 deletions

View File

@ -35,6 +35,7 @@ import org.gcube.accounting.utility.postgresql.RecordToDBConnection;
import org.gcube.accounting.utility.postgresql.RecordToDBFields;
import org.gcube.accounting.utility.postgresql.RecordToDBMapping;
import org.gcube.documentstore.records.AggregatedRecord;
import org.gcube.documentstore.records.Record;
import org.gcube.documentstore.records.RecordUtility;
import org.json.JSONObject;
import org.slf4j.Logger;
@ -151,7 +152,6 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
return getTimeSeries(clz, temporalConstraint, filters, null);
}
@Override
public SortedMap<Filter, SortedMap<Calendar, Info>> getContextTimeSeries(
Class<? extends AggregatedRecord<?, ?>> clz, TemporalConstraint temporalConstraint, List<Filter> filters,
@ -170,6 +170,13 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
return ret;
}
@Override
public SortedMap<Filter, SortedMap<Calendar, Long>> getSpaceTimeSeries(Class<? extends AggregatedRecord<?, ?>> clz,
TemporalConstraint temporalConstraint, List<Filter> filters, List<String> providersId) throws Exception {
// TODO Auto-generated method stub
return null;
}
protected SortedSet<NumberedFilter> getNumberedValues(Class<? extends AggregatedRecord<?, ?>> clz,
TemporalConstraint temporalConstraint, List<Filter> filters, String key,
String orderingProperty, Integer limit) throws Exception {
@ -263,7 +270,7 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
}
@Override
public String getRecord(String recordId, String type) throws Exception {
public Record getRecord(String recordId, String type) throws Exception {
// TODO Auto-generated method stub
return null;
}
@ -274,13 +281,6 @@ public class AccountingPersistenceQueryPostgreSQL implements AccountingPersisten
return null;
}
@Override
public SortedMap<Filter, SortedMap<Calendar, Long>> getSpaceTimeSeries(Class<? extends AggregatedRecord<?, ?>> clz,
TemporalConstraint temporalConstraint, List<Filter> filters, List<String> providersId) throws Exception {
// TODO Auto-generated method stub
return null;
}
@Override
public void close() throws Exception {
// OK