Class GcpBigQueryProperties

java.lang.Object
com.google.cloud.spring.autoconfigure.bigquery.GcpBigQueryProperties
All Implemented Interfaces:
CredentialsSupplier

@ConfigurationProperties("spring.cloud.gcp.bigquery") public class GcpBigQueryProperties extends Object implements CredentialsSupplier
Properties for configuring BigQuery.
  • Constructor Details

    • GcpBigQueryProperties

      public GcpBigQueryProperties()
  • Method Details

    • getJsonWriterBatchSize

      public int getJsonWriterBatchSize()
    • getThreadPoolSize

      public int getThreadPoolSize()
    • setThreadPoolSize

      public void setThreadPoolSize(int threadPoolSize)
    • setJsonWriterBatchSize

      public void setJsonWriterBatchSize(int jsonWriterBatchSize)
    • getCredentials

      public Credentials getCredentials()
      Description copied from interface: CredentialsSupplier
      Supplies credentials configuration.
      Specified by:
      getCredentials in interface CredentialsSupplier
      Returns:
      a POJO containing Google Cloud credentials location and scopes
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • getDatasetName

      public String getDatasetName()
    • setDatasetName

      public void setDatasetName(String datasetName)