google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Bigtable: Request for Query#fromProto in models.Query

Open rahulKQL opened this issue 7 years ago • 1 comments

It would be nice to have Query.fromProto() for v2.models.Query to be able to convert to/from ReadRowsRequest.java.

As of now in TemplateUtil.java, we are using ValueProvider for ReadRowsRequst, but once migrating to Query, we wouldn't be able to create Query in TemplateUtis#RequestValueProvider#get as tableId will not be available until the latter part of the execution.

Related refactoring PR: https://github.com/GoogleCloudPlatform/cloud-bigtable-client/pull/2025

rahulKQL avatar Dec 27 '18 08:12 rahulKQL

Closing this Issue, as Query#fromProto changes are merged.

rahulKQL avatar Jan 16 '19 13:01 rahulKQL