Updating RowAdapter & hbase2_x-BigtableDataClient#readModifyRow() with GCJ's model by rahulKQL · Pull Request #2061 · googleapis/java-bigtable-hbase · GitHub
Skip to content

Updating RowAdapter & hbase2_x-BigtableDataClient#readModifyRow() with GCJ's model#2061

Merged
sduskis merged 1 commit into
googleapis:masterfrom
rahulKQL:wrap_row_adapter
Feb 8, 2019
Merged

Updating RowAdapter & hbase2_x-BigtableDataClient#readModifyRow() with GCJ's model#2061
sduskis merged 1 commit into
googleapis:masterfrom
rahulKQL:wrap_row_adapter

Conversation

@rahulKQL

Copy link
Copy Markdown
Contributor

What Changes this PR contains

Updated BigtableAsyncTable with gcj's Row to implement IBigtableClientWrapper.

NOTE
This PR is on dependent on #2056 & #2058 once those two are merged, we can rebase and have min less than 5 files changes.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 31, 2019
@rahulKQL rahulKQL changed the title WIP: [part-2] Implemented IBigtableDataClient in BigtableAsyncTable with gcj's models. [part-2] Implemented clientWrappers in BigtableAsyncTable with GCJ's models Feb 5, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove this method, and use RowAdapter instead. You should be able to call model.Row.toProto() for the adapter.

@sduskis sduskis Feb 5, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry... we need a model.Row.fromProto() in order to do this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@sduskis I have updated BigtableDataClientWrapper & BulkMutation to use DefautlRowAdpater#createRowFromProto.
Please have a look. Thanks!!

Adding AsyncExecutor fix

fix comments

Row Adapter changes with SortedSet

Updated RowAdapter changes with fromProto

Started using DefaultRowAdapter#createRowFromProto for Protobuf to models.Row conversion
@rahulKQL rahulKQL changed the title [part-2] Implemented clientWrappers in BigtableAsyncTable with GCJ's models Updating RowAdapter & hbase2_x-BigtableDataClient#readModifyRow() with GCJ's model Feb 8, 2019
@sduskis sduskis merged commit 84f905a into googleapis:master Feb 8, 2019
@rahulKQL rahulKQL deleted the wrap_row_adapter branch February 13, 2019 07:59
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.

3 participants