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 |
static class |
BigQueryServicesImpl.WriteStreamServiceImpl |
BigQueryServices.BigQueryServerStream<T>, BigQueryServices.DatasetService, BigQueryServices.JobService, BigQueryServices.StorageClient, BigQueryServices.StreamAppendClient, BigQueryServices.WriteStreamService
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 . |
BigQueryServices.WriteStreamService |
getWriteStreamService(BigQueryOptions options)
Returns a real, mock, or fake
BigQueryServices.WriteStreamService . |
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.WriteStreamService getWriteStreamService(BigQueryOptions options)
BigQueryServices
BigQueryServices.WriteStreamService
.getWriteStreamService
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()