Class TransactionsReportingQueryBuilder

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

public final class TransactionsReportingQueryBuilder 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 transactions 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 transactions reporting for, and returns the view query map.
      Specified by:
      getViewQueryMap in interface QueryBuilder