refs #1665: Create Accounting Analytics Persistence CouchBase
https://support.d4science.org/issues/1665 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-analytics-persistence-couchbase@126337 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6dfa180564
commit
3df69197ec
|
@ -434,8 +434,25 @@ public class AccountingPersistenceQueryCouchBase implements
|
|||
Class<? extends AggregatedRecord<?, ?>> clz,
|
||||
TemporalConstraint temporalConstraint, List<Filter> filters,
|
||||
String topKey, String orderingProperty) throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
|
||||
SortedMap<NumberedFilter, SortedMap<Calendar, Info>> ret =
|
||||
new TreeMap<>();
|
||||
|
||||
SortedSet<NumberedFilter> top = getNextPossibleValues(clz,
|
||||
temporalConstraint, filters, topKey, orderingProperty);
|
||||
|
||||
for(NumberedFilter nf : top){
|
||||
filters.add(nf);
|
||||
|
||||
SortedMap<Calendar, Info> map =
|
||||
mapReduceQuery(clz, temporalConstraint, filters);
|
||||
|
||||
ret.put(nf, map);
|
||||
|
||||
filters.remove(nf);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
protected String getQualifiedProperty(String property){
|
||||
|
|
Reference in New Issue