Skip to content

Bigtable: 03. Surface: SampleRowKeys#2857

Merged
garrettjonesgoogle merged 4 commits intogoogleapis:masterfrom
igorbernstein2:03-surface-sample-row-keys
Feb 15, 2018
Merged

Bigtable: 03. Surface: SampleRowKeys#2857
garrettjonesgoogle merged 4 commits intogoogleapis:masterfrom
igorbernstein2:03-surface-sample-row-keys

Conversation

@igorbernstein2
Copy link
Contributor

@igorbernstein2 igorbernstein2 commented Feb 5, 2018

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
Contributor Author

rebased

@igorbernstein2
Copy link
Contributor Author

PTAL after #2861. This is ready for review

@pongad
Copy link
Contributor

pongad commented Feb 13, 2018

@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
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
Contributor Author

Fixed docs. Please merge when ready

@garrettjonesgoogle garrettjonesgoogle merged commit 937e49d into googleapis:master Feb 15, 2018
@igorbernstein2
Copy link
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>
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