This repository was archived by the owner on May 8, 2026. It is now read-only.
feat: add experimental support for reverse scans public preview#1708
Closed
igorbernstein2 wants to merge 2 commits into
Closed
feat: add experimental support for reverse scans public preview#1708igorbernstein2 wants to merge 2 commits into
igorbernstein2 wants to merge 2 commits into
Conversation
Change-Id: I092f236658a93a8ebd0bbc3bf1ef83c5c4978432
Change-Id: I1f965e0f43fd3713a7abfff68466be7c861d08a7
mutianf
approved these changes
Apr 13, 2023
| .limit(2) | ||
| .prefix("phone#4c410523") | ||
| .range(ByteStringRange.unbounded() | ||
| .startClosed("phone#5c10102") |
Contributor
There was a problem hiding this comment.
startClosed and end closed is the same key, maybe change to different keys? So customers can know if start key should be < end key or > end key because it's reversed?
Contributor
There was a problem hiding this comment.
Or maybe in the javadoc example in Query.java update it to:
* <pre>{@code
* query
* .range(ByteStringRange.unbounded().startKeyClosed("a").endOpen("c"))
* .limit(10)
* .reversed(true)
* }</pre>
Contributor
Author
There was a problem hiding this comment.
I updated the sample to use different keys
Contributor
Author
|
closing in favor of #1711 and will address feedback there |
mutianf
pushed a commit
to mutianf/java-bigtable
that referenced
this pull request
May 3, 2023
Source-Link: googleapis/synthtool@fbc8bfe Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a reversed boolean to Query, which will allow endusers to stream rows in reverse order.
Example:
This its currently blocked on generated protos which will be autogenerated soon