-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplify sample rows key callable chain
Previously there were 3 chain creators: 1. createSampleRowKeysBaseCallable 2. createSampleRowKeysWithRequestCallable 3. createSampleRowKeysCallable The primary reason for this is that SampleRowKeysWithRequest was introduced after createSampleRowKeysCallable because it supports authorized views. This pr simplifies the logic by moving everything into createSampleRowKeysWithRequestCallable and makes createSampleRowKeysCallable be a tiny shim to convert a String tableId into a SampleRowKeysRequest Change-Id: I8f3f33936211bccc71fb0345c5d87fd9f85b2146
- Loading branch information
1 parent
ecf4d3e
commit 7d4b753
Showing
3 changed files
with
41 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
...-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/SampleRowKeysCallable.java
This file was deleted.
Oops, something went wrong.
125 changes: 0 additions & 125 deletions
125
...table/src/test/java/com/google/cloud/bigtable/data/v2/stub/SampleRowKeysCallableTest.java
This file was deleted.
Oops, something went wrong.