public class BigQueryServicesImpl extends java.lang.Object implements BigQueryServices
BigQueryServices
that actually communicates with the cloud BigQuery
service.Modifier and Type | Class and Description |
---|---|
static class |
BigQueryServicesImpl.DatasetServiceImpl |
BigQueryServices.BigQueryServerStream<T>, BigQueryServices.DatasetService, BigQueryServices.JobService, BigQueryServices.StorageClient, BigQueryServices.StreamAppendClient
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
API_METRIC_LABEL |
Constructor and Description |
---|
BigQueryServicesImpl() |
Modifier and Type | Method and Description |
---|---|
static CustomHttpErrors |
createBigQueryClientCustomErrors() |
BigQueryServices.DatasetService |
getDatasetService(BigQueryOptions options)
Returns a real, mock, or fake
BigQueryServices.DatasetService . |
BigQueryServices.JobService |
getJobService(BigQueryOptions options)
Returns a real, mock, or fake
BigQueryServices.JobService . |
BigQueryServices.StorageClient |
getStorageClient(BigQueryOptions options)
Returns a real, mock, or fake
BigQueryServices.StorageClient . |
protected static final java.util.Map<java.lang.String,java.lang.String> API_METRIC_LABEL
public BigQueryServices.JobService getJobService(BigQueryOptions options)
BigQueryServices
BigQueryServices.JobService
.getJobService
in interface BigQueryServices
public BigQueryServices.DatasetService getDatasetService(BigQueryOptions options)
BigQueryServices
BigQueryServices.DatasetService
.getDatasetService
in interface BigQueryServices
public BigQueryServices.StorageClient getStorageClient(BigQueryOptions options) throws java.io.IOException
BigQueryServices
BigQueryServices.StorageClient
.getStorageClient
in interface BigQueryServices
java.io.IOException
public static CustomHttpErrors createBigQueryClientCustomErrors()