Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add an enhanced layer for BigQuery Storage v1beta2 client (#48)
* Create a shim layer for the BigQuery Storage API v1beta2. This change adds a simple shim layer to the BigQuery Read API client. It is modeled after the shim layer in the BigQuery Storage API v1beta1, where the parameters are simple pass-throughs to the underlying gRPC client stub. The shim currently does nothing but read default values from the base client layer and pass them back through. * Add a resumption strategy for v1beta2 ReadRows. This change modifies the configuration for the v1beta2 ReadRows API to add a resumption strategy. The resumption strategy will allow the connection to be resumed transparently in the case of transient errors. * Address feedback about "pass-through" comments. * Formatting files with mvn com.coveo:fmt-maven-plugin:format
- Loading branch information
Showing with 1,709 additions and 0 deletions.
- +376 −0 ...d-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadClient.java
- +202 −0 ...bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadSettings.java
- +121 −0 ...torage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/EnhancedBigQueryReadStub.java
- +232 −0 ...rc/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/EnhancedBigQueryReadStubSettings.java
- +72 −0 ...main/java/com/google/cloud/bigquery/storage/v1beta2/stub/readrows/ReadRowsResumptionStrategy.java
- +16 −0 ...rystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/readrows/package-info.java
- +165 −0 ...gquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadClientTest.java
- +142 −0 ...est/java/com/google/cloud/bigquery/storage/v1beta2/stub/EnhancedBigQueryReadStubSettingsTest.java
- +140 −0 ...querystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/stub/ResourceHeaderTest.java
- +243 −0 ...rage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/stub/readrows/ReadRowsRetryTest.java
There are no files selected for viewing
Oops, something went wrong.