Skip to content

Commit

Permalink
Bigtable: Expose single row read settings (#4321)
Browse files Browse the repository at this point in the history
* exposing ReadRowSettings thru BigtableDataSettings

* fixed typo error
  • Loading branch information
rahulKQL authored and igorbernstein2 committed Jan 11, 2019
1 parent 6ada222 commit 388c1bb
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ public ServerStreamingCallSettings<Query, Row> readRowsSettings() {
return getTypedStubSettings().readRowsSettings();
}

/** Returns the object with the settings used for point reads via ReadRow. */
public UnaryCallSettings<Query, Row> readRowSettings() {
return getTypedStubSettings().readRowSettings();
}

/** Returns the object with the settings used for calls to sampleRowKeys. */
public UnaryCallSettings<String, List<KeyOffset>> sampleRowKeysSettings() {
return getTypedStubSettings().sampleRowKeysSettings();
Expand Down Expand Up @@ -227,6 +232,11 @@ public ServerStreamingCallSettings.Builder<Query, Row> readRowsSettings() {
return getTypedStubSettings().readRowsSettings();
}

/** Returns the builder for the settings used for point reads using readRow. */
public UnaryCallSettings.Builder<Query, Row> readRowSettings() {
return getTypedStubSettings().readRowSettings();
}

/** Returns the builder for the settings used for calls to SampleRowKeysSettings. */
public UnaryCallSettings.Builder<String, List<KeyOffset>> sampleRowKeysSettings() {
return getTypedStubSettings().sampleRowKeysSettings();
Expand Down

0 comments on commit 388c1bb

Please sign in to comment.