Class ActivityReportingQueryBuilder

java.lang.Object
google.registry.reporting.icann.ActivityReportingQueryBuilder
All Implemented Interfaces:
QueryBuilder

public final class ActivityReportingQueryBuilder extends Object implements QueryBuilder
Utility class that produces SQL queries used to generate activity reports from Bigquery.
  • Method Details

    • getReportQuery

      public String getReportQuery(org.joda.time.YearMonth yearMonth)
      Returns the aggregate query which generates the activity report from the saved view.
      Specified by:
      getReportQuery in interface QueryBuilder
    • 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 interface QueryBuilder