Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rahulKQL
Copy link
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
* @return an instance of {@link Row}.
*/
private Row transformResponse(ReadModifyWriteRowResponse response) {
public static Row transformResponse(ReadModifyWriteRowResponse response) {
Copy link
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.

Copy link
Contributor

@sduskis sduskis Feb 5, 2019

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