8000 Bigtable: RowMutationEntry#create for unsafe mutation creation by rahulKQL · Pull Request #6211 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@rahulKQL
Copy link
@rahulKQL rahulKQL commented Sep 4, 2019

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).

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
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 4, 2019
Copy link
@igorbernstein2 igorbernstein2 left a 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)

@rahulKQL
Copy link
Author
rahulKQL commented Sep 4, 2019

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

Please have a fresh look.

@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
Copy link
codecov bot commented Sep 4, 2019

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.

@rahulKQL rahulKQL merged commit 6faf548 into googleapis:master Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

0