Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bigtable: 03. Surface: SampleRowKeys#2857

Merged
garrettjonesgoogle merged 4 commits into
googleapis:mastergoogleapis/google-cloud-java:masterfrom
igorbernstein2:03-surface-sample-row-keysigorbernstein2/google-cloud-java:03-surface-sample-row-keysCopy head branch name to clipboard
Feb 15, 2018
Merged

Bigtable: 03. Surface: SampleRowKeys#2857
garrettjonesgoogle merged 4 commits into
googleapis:mastergoogleapis/google-cloud-java:masterfrom
igorbernstein2:03-surface-sample-row-keysigorbernstein2/google-cloud-java:03-surface-sample-row-keysCopy head branch name to clipboard

Conversation

@igorbernstein2

@igorbernstein2 igorbernstein2 commented Feb 5, 2018

Copy link
Copy Markdown
Contributor

Adds the surface to wrap SampleRowKeys RPC. The surface:

  • hides the fact that the RPC is streaming
  • wraps the request as a simple string table id
  • wraps the response in KeyOffset

This has been reviewed Kevin. However some things have changed since the original review:

  • The original code was adapted to use the StubSettings
  • static import of Truth.assertThat

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 5, 2018
@igorbernstein2 igorbernstein2 force-pushed the 03-surface-sample-row-keys branch 2 times, most recently from fe905c1 to 72c73b6 Compare February 8, 2018 16:20
@igorbernstein2

Copy link
Copy Markdown
Contributor Author

rebased

@igorbernstein2

Copy link
Copy Markdown
Contributor Author

PTAL after #2861. This is ready for review

@pongad

pongad commented Feb 13, 2018

Copy link
Copy Markdown
Contributor

@igorbernstein2 Looks like we need another rebase?

Adds the surface to wrap SampleRowKeys RPC. The surface:
- hides the fact that the RPC is streaming
- wraps the request as a simple string table id
- wraps the response in KeyOffset
@igorbernstein2 igorbernstein2 force-pushed the 03-surface-sample-row-keys branch from 30d5dbe to 79d3457 Compare February 13, 2018 21:20
@igorbernstein2

Copy link
Copy Markdown
Contributor Author

rebased

* should therefore not make any assumptions about the row key structure that are specific to
* their use case.
*/
public abstract ByteString geyKey();

This comment was marked as spam.

This comment was marked as spam.

/**
* Convenience method to asynchronously return a sample of row keys in the table. The returned row
* keys will delimit contiguous sections of the table of approximately equal size, which can be
* used to break up the data for distributed tasks like mapreduces. The returned callable object

This comment was marked as spam.

/**
* A row key value that is returned as part of the response of
* {@link com.google.cloud.bigtable.data.v2.BigtableDataClient#sampleRowKeys(String)}. The key
* represents end boundary of one of the contiguous section in a list of approximately equal sized

This comment was marked as spam.

@igorbernstein2

Copy link
Copy Markdown
Contributor Author

Fixed docs. Please merge when ready

@garrettjonesgoogle garrettjonesgoogle merged commit 937e49d into googleapis:master Feb 15, 2018
@igorbernstein2

Copy link
Copy Markdown
Contributor Author

Thank you!

@igorbernstein2 igorbernstein2 deleted the 03-surface-sample-row-keys branch February 15, 2018 20:03
chingor13 pushed a commit that referenced this pull request Feb 20, 2026
…ng to v1.47.0 (#2857)

Co-authored-by: Phong Chuong <147636638+PhongChuong@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
* test: disable proto column tests

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
rahul2393 pushed a commit to akash329d/google-cloud-java that referenced this pull request May 21, 2026
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/java-bigtable/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
- [ ] Rollback plan is reviewed and LGTMed
- [ ] All new data plane features have a completed end to end testing plan

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the [samples format](
https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.