Class BigQueryEngine

All Implemented Interfaces:
QueryEngine<BigQueryDatastore>

public class BigQueryEngine extends AQueryEngine<BigQueryDatastore>
  • Field Details

    • SUPPORTED_AGGREGATION_FUNCTIONS

      public static final List<String> SUPPORTED_AGGREGATION_FUNCTIONS
      https://cloud.google.com/bigquery/docs/reference/standard-sql/statistical_aggregate_functions#covar_samp https://cloud.google.com/bigquery/docs/reference/standard-sql/aggregate_functions
  • Constructor Details

  • Method Details

    • retrieveAggregates

      protected Table retrieveAggregates(DatabaseQuery query, String sql)
      Specified by:
      retrieveAggregates in class AQueryEngine<BigQueryDatastore>
    • executeRawSql

      public Table executeRawSql(String sql)
    • getTypeValue

      public static Object getTypeValue(com.google.cloud.bigquery.FieldValueList fieldValues, com.google.cloud.bigquery.Schema schema, int index)
      Gets the value with the correct type, otherwise everything is read as String.
    • supportedAggregationFunctions

      public List<String> supportedAggregationFunctions()
    • queryRewriter

      public QueryRewriter queryRewriter()