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

Skip to content

Conversation

@rahulKQL
Copy link
Contributor

Added new operation IBigtableDataClient#readRows(ReadRowsRequest) which currently return ResultScanner<Row>, with intend to delegate BigtableDataClient#readFlatRow for vaneer client.

Reason for raising this PR:

  • FlatRow and v2.models.Row has identical fields.
  • Vanner client has all read operation with v2.models.Row.

Assumption: RowCell has same ordering as FlatRow.Cell.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 19, 2018
@igorbernstein2
Copy link
Collaborator

igorbernstein2 commented Dec 19, 2018

I think it would be better to keep the FlatRow abstraction in cloud-bigtable-client and instead pass a custom RowAdapter to readRowsCallable.

This would keep the existing api stable w/o any performance loss

@igorbernstein2
Copy link
Collaborator

@rahulKQL
Copy link
Contributor Author

Thanks @igorbernstein2 for review. I have added FlatRowModelAdapter.java which we could use for BigtableDataClient#readRowsCallable later when BigtableDataClient vaneer client is ready.

When get a chance please have a look!!

Copy link
Collaborator

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

Looks great! Other then the nits, LGTM

@rahulKQL
Copy link
Contributor Author

@igorbernstein2,

whenever you get time, Please have a look.

Copy link
Collaborator

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

LGTM

@sduskis sduskis merged commit 5912e6e into googleapis:master Jan 6, 2019
@rahulKQL rahulKQL deleted the readRowMethod branch January 7, 2019 12:08
@rahulKQL rahulKQL changed the title Adding implementation for readRows FlatRowAdapter implementation of models.RowAdapter Feb 13, 2019
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