org.gcube.accounting.usagetracker.persistence
Class MongoAggregationHelper

java.lang.Object
  extended by org.gcube.accounting.usagetracker.persistence.MongoAggregationHelper

public class MongoAggregationHelper
extends Object

MongoAggregatorHelper

Author:
Ermanno Travaglino

Constructor Summary
MongoAggregationHelper()
           
 
Method Summary
static org.joda.time.DateTime generateAggregationTime(com.mongodb.DBObject idField, String granule)
           
static com.mongodb.DBObject generateGroupClause(org.gcube.accounting.datamodel.reports.Report report, boolean aggregationEnabled)
           
static com.mongodb.DBObject generateMatchClause(org.gcube.accounting.datamodel.reports.Report report)
           
static com.mongodb.DBObject generateSortClause(org.gcube.accounting.datamodel.reports.Report report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoAggregationHelper

public MongoAggregationHelper()
Method Detail

generateMatchClause

public static com.mongodb.DBObject generateMatchClause(org.gcube.accounting.datamodel.reports.Report report)

generateSortClause

public static com.mongodb.DBObject generateSortClause(org.gcube.accounting.datamodel.reports.Report report)

generateGroupClause

public static com.mongodb.DBObject generateGroupClause(org.gcube.accounting.datamodel.reports.Report report,
                                                       boolean aggregationEnabled)

generateAggregationTime

public static org.joda.time.DateTime generateAggregationTime(com.mongodb.DBObject idField,
                                                             String granule)


Copyright © 2013. All Rights Reserved.