// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-google-bigquery"]
= Google BigQuery
:page-aliases: extensions/google-bigquery.adoc
:linkattrs:
:cq-artifact-id: camel-quarkus-google-bigquery
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Access Google Cloud BigQuery service using SQL queries or Google Client Services API
:cq-deprecated: false
:cq-jvm-since: 1.0.0
:cq-native-since: 1.6.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##1.0.0## [.badge-key]##Native since##[.badge-supported]##1.6.0##
endif::[]

Access Google Cloud BigQuery service using SQL queries or Google Client Services API

[id="extensions-google-bigquery-whats-inside"]
== What's inside

* xref:{cq-camel-components}::google-bigquery-component.adoc[Google BigQuery component], URI syntax: `google-bigquery:projectId:datasetId:tableId`
* xref:{cq-camel-components}::google-bigquery-sql-component.adoc[Google BigQuery Standard SQL component], URI syntax: `google-bigquery-sql:projectId:queryString`

Please refer to the above links for usage and configuration details.

[id="extensions-google-bigquery-maven-coordinates"]
== Maven coordinates

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-google-bigquery[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-google-bigquery</artifactId>
</dependency>
----
ifeval::[{doc-show-user-guide-link} == true]
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
endif::[]

[id="extensions-google-bigquery-usage"]
== Usage
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 https://quarkus.io/guides/building-native-image#quarkus-native-pkg-native-config_quarkus.native.resources.includes[Quarkus documentation] for more details.


[id="extensions-google-bigquery-camel-quarkus-limitations"]
== Camel Quarkus limitations

Currently it needs a work around in native building to introduce a native-image.properties file containing the following line:
[source,properties]
----
Args = -H:+RunReachabilityHandlersConcurrently
----

Also this file needs to be in your application, e.g. `src/main/resources/META-INF/native-image/native-image.properties`

