You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/autosynth-language/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/DatabaseClient.java
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,9 @@ public interface DatabaseClient {
85
85
86
86
/**
87
87
* Returns a context in which a single read can be performed using {@link TimestampBound#strong()}
88
-
* concurrency.
88
+
* concurrency. This method will return a {@link ReadContext} that will not return the read
89
+
* timestamp that was used by Cloud Spanner. If you want to be able to access the read timestamp,
90
+
* you should use the method {@link #singleUseReadOnlyTransaction()}.
89
91
*
90
92
* <p>Example of single use.
91
93
*
@@ -100,17 +102,18 @@ public interface DatabaseClient {
100
102
ReadContextsingleUse();
101
103
102
104
/**
103
-
* Returns a context in which a single read can be performed at the given timestamp bound.
105
+
* Returns a context in which a single read can be performed at the given timestamp bound. This
106
+
* method will return a {@link ReadContext} that will not return the read timestamp that was used
107
+
* by Cloud Spanner. If you want to be able to access the read timestamp, you should use the
0 commit comments