GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bigtable: RowMutationEntry#create for unsafe mutation creation by rahulKQL · Pull Request #6211 · googleapis/google-cloud-java

Conversation

@rahulKQL

@rahulKQL rahulKQL commented Sep 4, 2019

Copy link
Copy Markdown
Contributor

Introducing RowMutationEntry#create(key, mutation) so that mutation can be passed directly to RowMutationEntry.

This shall be used for HBase batching with the server-side timestamp(here).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rahulKQL
Bigtable: RowMutationEntry#create for unsafe mutation creation
1a1e654
Introducing `RowMutationEntry#create(key, mutation)` so that mutation with server side timestamp can be created using `RowMutationEntry`.

This shall be used for HBase batching with server side timestamp([here](https://github.com/googleapis/java-bigtable-hbase/blob/master/bigtable-client-core-parent/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/adapters/HBaseRequestAdapter.java#L332-L335)).
@rahulKQL rahulKQL added the api: bigtable Issues related to the Bigtable API. label Sep 4, 2019
@rahulKQL
rahulKQL requested review from igorbernstein2 and kolea2 September 4, 2019 13:33
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 4, 2019
igorbernstein2
igorbernstein2 requested changes Sep 4, 2019
View reviewed changes

@igorbernstein2 igorbernstein2 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'd prefer RowMutationEntry.createUnsafe(key)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rahulKQL
Renamed method to RowMutationEntry#createUnsfe()
75b85c7
@rahulKQL

rahulKQL commented Sep 4, 2019

Copy link
Copy Markdown
Contributor Author

@igorbernstein2 Thanks for the suggestion, I have updated method the same name.

Please have a fresh look.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rahulKQL
rahulKQL commented Sep 4, 2019
View reviewed changes
Comment thread ...-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/models/RowMutationEntry.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

igorbernstein2
igorbernstein2 approved these changes Sep 4, 2019
View reviewed changes
@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2019
@rahulKQL rahulKQL added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2019
@igorbernstein2 igorbernstein2 added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Sep 4, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2019
@codecov

codecov Bot commented Sep 4, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #6211 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6211      +/-   ##
============================================
- Coverage     47.53%   47.53%   -0.01%     
- Complexity    27472    27488      +16     
============================================
  Files          2534     2534              
  Lines        274924   274925       +1     
  Branches      31408    31403       -5     
============================================
  Hits         130681   130681              
- Misses       134610   134611       +1     
  Partials       9633     9633
Impacted Files Coverage Δ Complexity Δ
...loud/bigtable/data/v2/models/RowMutationEntry.java 75% <100%> (+0.8%) 10 <1> (+1) ⬆️
...ain/java/com/google/cloud/pubsub/v1/Publisher.java 89.11% <0%> (-0.35%) 40% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f6aac8...75b85c7. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rahulKQL
rahulKQL merged commit 6faf548 into googleapis:master Sep 5, 2019
@chingor13 chingor13 mentioned this pull request Sep 5, 2019
Release google-cloud-java v0.108.0 #6223
Merged
benjaminp pushed a commit to benjaminp/google-cloud-java that referenced this pull request Jul 13, 2026
@rahulKQL
Bigtable: RowMutationEntry#create for unsafe mutation creation (googl…
8ebaa6a
…eapis#6211)

* Bigtable: RowMutationEntry#create for unsafe mutation creation

Introducing `RowMutationEntry#create(key, mutation)` so that mutation with server side timestamp can be created using `RowMutationEntry`.

This shall be used for HBase batching with server side timestamp([here](https://github.com/googleapis/java-bigtable-hbase/blob/master/bigtable-client-core-parent/bigtable-hbase/src/main/java/com/google/cloud/bigtable/hbase/adapters/HBaseRequestAdapter.java#L332-L335)).

* Renamed method to RowMutationEntry#createUnsfe()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@igorbernstein2 igorbernstein2 igorbernstein2 approved these changes
@kolea2 kolea2 Awaiting requested review from kolea2

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@rahulKQL @igorbernstein2 @googlebot @yoshi-kokoro @kolea2
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.