File tree 2 files changed +2
-9
lines changed
main/java/com/google/cloud/spanner
test/java/com/google/cloud/spanner/it 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package com .google .cloud .spanner ;
18
18
19
- import com .google .api .core .BetaApi ;
20
19
import com .google .common .base .Preconditions ;
21
20
import com .google .spanner .v1 .RequestOptions .Priority ;
22
21
import java .io .Serializable ;
@@ -156,11 +155,9 @@ public static ListOption pageSize(int pageSize) {
156
155
}
157
156
158
157
/**
159
- * If this is for a partitioned read and query and this field is set to `true`, the request will
160
- * be executed via Spanner independent compute resources. The method is available in Beta mode
161
- * (and is not generally available now).
158
+ * If this is for PartitionedRead or PartitionedQuery and this field is set to `true`, the request
159
+ * will be executed via Spanner independent compute resources.
162
160
*/
163
- @ BetaApi
164
161
public static DataBoostQueryOption dataBoostEnabled (Boolean dataBoostEnabled ) {
165
162
return new DataBoostQueryOption (dataBoostEnabled );
166
163
}
Original file line number Diff line number Diff line change @@ -258,8 +258,6 @@ public void readUsingIndex() {
258
258
259
259
@ Test
260
260
public void dataBoostRead () {
261
- // TODO: Remove the following check during GA
262
- assumeFalse ("DataBoost feature is not yet generally available" , true );
263
261
assumeFalse ("Emulator does not support data boost read" , isUsingEmulator ());
264
262
265
263
BitSet seenRows = new BitSet (numRows );
@@ -314,8 +312,6 @@ private PartitionOptions getRandomPartitionOptions() {
314
312
315
313
@ Test
316
314
public void dataBoostQuery () {
317
- // TODO: Remove the following check during GA
318
- assumeFalse ("DataBoost feature is not yet generally available" , true );
319
315
assumeFalse ("Emulator does not support data boost query" , isUsingEmulator ());
320
316
BitSet seenRows = new BitSet (numRows );
321
317
TimestampBound bound = getRandomBound ();
You can’t perform that action at this time.
0 commit comments