Google BigQuery
JVM since1.0.0 Native since1.5.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:query
Please refer to the above links for usage and configuration details.
Maven coordinates
<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.camel.native.resources.include-patterns
configuration property.