commit | 244d1357cb1b6ce3b971d367693f6cb6090018d4 | [log] [tgz] |
---|---|---|
author | Brandt Newton <148282037+brandtnewton@users.noreply.github.com> | Wed Nov 08 14:58:23 2023 -0500 |
committer | GitHub <noreply@github.com> | Wed Nov 08 14:58:23 2023 -0500 |
tree | 673004675795381ff31c5abd1e3732036bdda89c | |
parent | 3e23a364b1a20c4fda7aef257e4136586ec769a4 [diff] |
feat(bigtable): Add support for reverse scans (#8755) * feat: add more expressive range api * feat(bigtable): Add support for reverse scans * resolve feature flag conflict after merge * add a new constructor for chunkReader to avoid line noise * remove orphaned code * fix typo * adding a first test * extended RowRange to express bound types * adding unit tests * correcting backwards compatability behavior * adding test proxy support for reverse scan * added todo reminder * all unit tests pass * updated naming * fix retries on reverse scan * more tests * exposing client messages to test proxy formatting * exposing client messages to test proxy formatting * fixing vet errors * minor style tweaks * changing error message to be consistent with java and cpp * cleaning up code and adding tests * simplify RowRange valid logic * rolling back test proxy changes * rolling back test proxy * changed default bound type for better backwards compatability rolled back some integration test changes to ensure backwards compatability --------- Co-authored-by: Igor Berntein <igorbernstein@google.com>
Go packages for Google Cloud Platform services.
import "cloud.google.com/go"
To install the packages on your system, do not clone the repo. Instead:
cd /my/cloud/project
go get
the package(s) you want to use:go get cloud.google.com/go/firestore # Replace with the package you want to use.
NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.
For an updated list of all of our released APIs please see our reference docs.
Our libraries are compatible with at least the three most recent, major Go releases. They are currently compatible with:
By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.
client, err := storage.NewClient(ctx)
To authorize using a JSON key file, pass option.WithCredentialsFile
to the NewClient
function of the desired package. For example:
client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))
You can exert more control over authorization by using the golang.org/x/oauth2
package to create an oauth2.TokenSource
. Then pass option.WithTokenSource
to the NewClient
function:
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))
Contributions are welcome. Please, see the CONTRIBUTING document for details.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.