boolean circumventRollup(final Experiment.ID experimentID, final Parameters parameters) { Experiment exp = getExperimentIfExists(experimentID); Date to = parameters.getToTime(); if (parameters.getFromTime() != null || parameters.getActions() != null) { return true; } else if (to != null) { // Get the date of the most recent rollup. Check to make sure that the toTime specified is >= last rollup // Return true if the date of the most recent rollup is before the specified toTime return analyticsRepository.checkMostRecentRollup(exp, parameters, to); } else { return false; } }
List<Map> impressionRows = analyticsRepository.getImpressionRows(experimentID, parameters); List<Map> actionsRows = analyticsRepository.getActionsRows(experimentID, parameters); List<Map> jointActionsRows = analyticsRepository.getJointActions(experimentID, parameters); Map<Bucket.Label, BucketCounts> buckets = analyticsRepository.getEmptyBuckets(experimentID);
List<Map> rollupRows = analyticsRepository.getRollupRows(experimentID, rollup.latestAvailableRollupDateAsString(), parameters); Map<Bucket.Label, BucketCounts> buckets = analyticsRepository.getEmptyBuckets(experimentID);
return getExperimentCountsDailies(experimentID, parameters); List<Map> rollupRows = analyticsRepository.getCountsFromRollups(experimentID, parameters); Map<Bucket.Label, BucketCounts> buckets = analyticsRepository.getEmptyBuckets(experimentID); ExperimentCounts experiment = analysisTools.calculateExperimentCounts(buckets.values());