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 Details

    • bigQuery

      @Bean @ConditionalOnMissingBean public com.google.cloud.bigquery.BigQuery bigQuery() throws IOException
      Throws:
      IOException
    • 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)