Package google.registry.reporting.icann
Class ActivityReportingQueryBuilder
java.lang.Object
google.registry.reporting.icann.ActivityReportingQueryBuilder
- All Implemented Interfaces:
QueryBuilder
Utility class that produces SQL queries used to generate activity reports from Bigquery.
-
Method Summary
Modifier and TypeMethodDescriptiongetReportQuery
(org.joda.time.YearMonth yearMonth) Returns the aggregate query which generates the activity report from the saved view.getViewQueryMap
(org.joda.time.YearMonth yearMonth) Sets the month we're doing activity reporting for, and returns the view query map.
-
Method Details
-
getReportQuery
Returns the aggregate query which generates the activity report from the saved view.- Specified by:
getReportQuery
in interfaceQueryBuilder
-
getViewQueryMap
public com.google.common.collect.ImmutableMap<String,String> getViewQueryMap(org.joda.time.YearMonth yearMonth) Sets the month we're doing activity reporting for, and returns the view query map.- Specified by:
getViewQueryMap
in interfaceQueryBuilder
-