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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.int
int
void
setDatasetName
(String datasetName) void
setEndpoint
(String endpoint) void
setJsonWriterBatchSize
(int jsonWriterBatchSize) void
setProjectId
(String projectId) void
setThreadPoolSize
(int threadPoolSize) void
setUniverseDomain
(String universeDomain)
-
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
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getProjectId
-
setProjectId
-
getDatasetName
-
setDatasetName
-
getUniverseDomain
-
setUniverseDomain
-
getEndpoint
-
setEndpoint
-