Class BigQueryServicesImpl
java.lang.Object
org.apache.beam.sdk.io.gcp.bigquery.BigQueryServicesImpl
- All Implemented Interfaces:
Serializable,BigQueryServices
An implementation of
BigQueryServices that actually communicates with the cloud BigQuery
service.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.apache.beam.sdk.io.gcp.bigquery.BigQueryServices
BigQueryServices.BigQueryServerStream<T>, BigQueryServices.DatasetService, BigQueryServices.JobService, BigQueryServices.StorageClient, BigQueryServices.StreamAppendClient, BigQueryServices.WriteStreamService -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomHttpErrorsgetDatasetService(BigQueryOptions options) Returns a real, mock, or fakeBigQueryServices.DatasetService.getJobService(BigQueryOptions options) Returns a real, mock, or fakeBigQueryServices.JobService.getStorageClient(BigQueryOptions options) Returns a real, mock, or fakeBigQueryServices.StorageClient.getWriteStreamService(BigQueryOptions options) Returns a real, mock, or fakeBigQueryServices.WriteStreamService.
-
Field Details
-
API_METRIC_LABEL
-
-
Constructor Details
-
BigQueryServicesImpl
public BigQueryServicesImpl()
-
-
Method Details
-
getJobService
Description copied from interface:BigQueryServicesReturns a real, mock, or fakeBigQueryServices.JobService.- Specified by:
getJobServicein interfaceBigQueryServices
-
getDatasetService
Description copied from interface:BigQueryServicesReturns a real, mock, or fakeBigQueryServices.DatasetService.- Specified by:
getDatasetServicein interfaceBigQueryServices
-
getWriteStreamService
Description copied from interface:BigQueryServicesReturns a real, mock, or fakeBigQueryServices.WriteStreamService.- Specified by:
getWriteStreamServicein interfaceBigQueryServices
-
getStorageClient
Description copied from interface:BigQueryServicesReturns a real, mock, or fakeBigQueryServices.StorageClient.- Specified by:
getStorageClientin interfaceBigQueryServices- Throws:
IOException
-
createBigQueryClientCustomErrors
-