Google BigQuery
JVM since1.0.0 Native since1.6.0
Access Google Cloud BigQuery service using SQL queries or Google Client Services API
What’s inside
-
Google BigQuery component, URI syntax:
google-bigquery:projectId:datasetId:tableId
-
Google BigQuery Standard SQL component, URI syntax:
google-bigquery-sql:projectId:queryString
Please refer to the above links for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-google-bigquery</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Usage
This extension leverages the Quarkiverse Google Cloud Services extension. The documentation describes how to configure authentication for Google cloud services.
For convenience, a GoogleBigQueryConnectionFactory
for use by the google-bigquery
& google-bigquery-sql
component is automatically configured.
If you want to read SQL scripts from the classpath with google-bigquery-sql
in native mode,
then you will need to ensure that they are added to the native image via the quarkus.native.resources.includes
configuration property.
Please check Quarkus documentation for more details.