Class GcpBigQueryAutoConfiguration
java.lang.Object
com.google.cloud.spring.autoconfigure.bigquery.GcpBigQueryAutoConfiguration
@AutoConfiguration
@AutoConfigureAfter(GcpContextAutoConfiguration.class)
@ConditionalOnProperty(value="spring.cloud.gcp.bigquery.enabled",
matchIfMissing=true)
@ConditionalOnClass({com.google.cloud.bigquery.BigQuery.class,BigQueryTemplate.class})
@EnableConfigurationProperties(GcpBigQueryProperties.class)
public class GcpBigQueryAutoConfiguration
extends Object
Provides client objects for interfacing with BigQuery.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.bigquery.BigQuery
bigQuery()
bigQueryTemplate
(com.google.cloud.bigquery.BigQuery bigQuery, com.google.cloud.bigquery.storage.v1.BigQueryWriteClient bigQueryWriteClient, org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler bigQueryThreadPoolTaskScheduler) org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
com.google.cloud.bigquery.storage.v1.BigQueryWriteClient
-
Method Details
-
bigQuery
@Bean @ConditionalOnMissingBean public com.google.cloud.bigquery.BigQuery bigQuery() throws IOException, URISyntaxException- Throws:
IOException
URISyntaxException
-
bigQueryWriteClient
@Bean @ConditionalOnMissingBean public com.google.cloud.bigquery.storage.v1.BigQueryWriteClient bigQueryWriteClient() throws IOException- Throws:
IOException
-
bigQueryThreadPoolTaskScheduler
@Bean @ConditionalOnMissingBean(name="bigQueryThreadPoolTaskScheduler") public org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler bigQueryThreadPoolTaskScheduler() -
bigQueryTemplate
@Bean @ConditionalOnMissingBean public BigQueryTemplate bigQueryTemplate(com.google.cloud.bigquery.BigQuery bigQuery, com.google.cloud.bigquery.storage.v1.BigQueryWriteClient bigQueryWriteClient, @Qualifier("bigQueryThreadPoolTaskScheduler") org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler bigQueryThreadPoolTaskScheduler)
-