Package io.squashql.query.database
Class BigQueryEngine
java.lang.Object
io.squashql.query.database.AQueryEngine<BigQueryDatastore>
io.squashql.query.database.BigQueryEngine
- All Implemented Interfaces:
QueryEngine<BigQueryDatastore>
-
Field Summary
FieldsModifier and TypeFieldDescriptionhttps://cloud.google.com/bigquery/docs/reference/standard-sql/statistical_aggregate_functions#covar_samp https://cloud.google.com/bigquery/docs/reference/standard-sql/aggregate_functionsFields inherited from class io.squashql.query.database.AQueryEngine
datastoreFields inherited from interface io.squashql.query.database.QueryEngine
GRAND_TOTAL, TOTAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteRawSql(String sql) static ObjectgetTypeValue(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.protected TableretrieveAggregates(DatabaseQuery query, String sql) Methods inherited from class io.squashql.query.database.AQueryEngine
createSqlStatement, datastore, execute, transformToColumnFormat, transformToRowFormat
-
Field Details
-
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
-
BigQueryEngine
-
-
Method Details
-
retrieveAggregates
- Specified by:
retrieveAggregatesin classAQueryEngine<BigQueryDatastore>
-
executeRawSql
-
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
-
queryRewriter
-