Skip to content

Commit 388c1bb

Browse files
rahulKQLigorbernstein2
authored andcommitted
Bigtable: Expose single row read settings (#4321)
* exposing ReadRowSettings thru BigtableDataSettings * fixed typo error
1 parent 6ada222 commit 388c1bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ public ServerStreamingCallSettings<Query, Row> readRowsSettings() {
9797
return getTypedStubSettings().readRowsSettings();
9898
}
9999

100+
/** Returns the object with the settings used for point reads via ReadRow. */
101+
public UnaryCallSettings<Query, Row> readRowSettings() {
102+
return getTypedStubSettings().readRowSettings();
103+
}
104+
100105
/** Returns the object with the settings used for calls to sampleRowKeys. */
101106
public UnaryCallSettings<String, List<KeyOffset>> sampleRowKeysSettings() {
102107
return getTypedStubSettings().sampleRowKeysSettings();
@@ -227,6 +232,11 @@ public ServerStreamingCallSettings.Builder<Query, Row> readRowsSettings() {
227232
return getTypedStubSettings().readRowsSettings();
228233
}
229234

235+
/** Returns the builder for the settings used for point reads using readRow. */
236+
public UnaryCallSettings.Builder<Query, Row> readRowSettings() {
237+
return getTypedStubSettings().readRowSettings();
238+
}
239+
230240
/** Returns the builder for the settings used for calls to SampleRowKeysSettings. */
231241
public UnaryCallSettings.Builder<String, List<KeyOffset>> sampleRowKeysSettings() {
232242
return getTypedStubSettings().sampleRowKeysSettings();

0 commit comments

Comments
 (0)