@google-cloud/spanner 7.14.0 → 7.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/README.md +14 -2
- package/build/protos/google/spanner/admin/instance/v1/common.proto +7 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +139 -16
- package/build/protos/google/spanner/v1/commit_response.proto +9 -0
- package/build/protos/google/spanner/v1/result_set.proto +21 -0
- package/build/protos/google/spanner/v1/spanner.proto +39 -2
- package/build/protos/google/spanner/v1/transaction.proto +34 -0
- package/build/protos/google/spanner/v1/type.proto +43 -30
- package/build/protos/protos.d.ts +1908 -1452
- package/build/protos/protos.js +5095 -3724
- package/build/protos/protos.json +310 -129
- package/build/src/batch-transaction.d.ts +1 -0
- package/build/src/batch-transaction.js +90 -50
- package/build/src/database.d.ts +6 -2
- package/build/src/database.js +433 -235
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +4 -0
- package/build/src/instance.d.ts +2 -0
- package/build/src/instance.js +6 -1
- package/build/src/instrument.d.ts +84 -0
- package/build/src/instrument.js +212 -0
- package/build/src/session-pool.d.ts +2 -0
- package/build/src/session-pool.js +61 -23
- package/build/src/session.js +1 -7
- package/build/src/table.d.ts +3 -0
- package/build/src/table.js +34 -14
- package/build/src/transaction.d.ts +3 -0
- package/build/src/transaction.js +411 -194
- package/build/src/v1/spanner_client.d.ts +14 -0
- package/package.json +12 -3
package/build/protos/protos.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"options": {
|
|
3
|
+
"syntax": "proto3"
|
|
4
|
+
},
|
|
2
5
|
"nested": {
|
|
3
6
|
"google": {
|
|
4
7
|
"nested": {
|
|
@@ -3616,6 +3619,17 @@
|
|
|
3616
3619
|
"FULFILLMENT_PERIOD_EXTENDED": 2
|
|
3617
3620
|
}
|
|
3618
3621
|
},
|
|
3622
|
+
"ReplicaSelection": {
|
|
3623
|
+
"fields": {
|
|
3624
|
+
"location": {
|
|
3625
|
+
"type": "string",
|
|
3626
|
+
"id": 1,
|
|
3627
|
+
"options": {
|
|
3628
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
3629
|
+
}
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3619
3633
|
"InstanceAdmin": {
|
|
3620
3634
|
"options": {
|
|
3621
3635
|
"(google.api.default_host)": "spanner.googleapis.com",
|
|
@@ -4187,6 +4201,33 @@
|
|
|
4187
4201
|
}
|
|
4188
4202
|
}
|
|
4189
4203
|
},
|
|
4204
|
+
"ReplicaComputeCapacity": {
|
|
4205
|
+
"oneofs": {
|
|
4206
|
+
"computeCapacity": {
|
|
4207
|
+
"oneof": [
|
|
4208
|
+
"nodeCount",
|
|
4209
|
+
"processingUnits"
|
|
4210
|
+
]
|
|
4211
|
+
}
|
|
4212
|
+
},
|
|
4213
|
+
"fields": {
|
|
4214
|
+
"replicaSelection": {
|
|
4215
|
+
"type": "ReplicaSelection",
|
|
4216
|
+
"id": 1,
|
|
4217
|
+
"options": {
|
|
4218
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4219
|
+
}
|
|
4220
|
+
},
|
|
4221
|
+
"nodeCount": {
|
|
4222
|
+
"type": "int32",
|
|
4223
|
+
"id": 2
|
|
4224
|
+
},
|
|
4225
|
+
"processingUnits": {
|
|
4226
|
+
"type": "int32",
|
|
4227
|
+
"id": 3
|
|
4228
|
+
}
|
|
4229
|
+
}
|
|
4230
|
+
},
|
|
4190
4231
|
"AutoscalingConfig": {
|
|
4191
4232
|
"fields": {
|
|
4192
4233
|
"autoscalingLimits": {
|
|
@@ -4202,6 +4243,14 @@
|
|
|
4202
4243
|
"options": {
|
|
4203
4244
|
"(google.api.field_behavior)": "REQUIRED"
|
|
4204
4245
|
}
|
|
4246
|
+
},
|
|
4247
|
+
"asymmetricAutoscalingOptions": {
|
|
4248
|
+
"rule": "repeated",
|
|
4249
|
+
"type": "AsymmetricAutoscalingOption",
|
|
4250
|
+
"id": 3,
|
|
4251
|
+
"options": {
|
|
4252
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4253
|
+
}
|
|
4205
4254
|
}
|
|
4206
4255
|
},
|
|
4207
4256
|
"nested": {
|
|
@@ -4256,6 +4305,44 @@
|
|
|
4256
4305
|
}
|
|
4257
4306
|
}
|
|
4258
4307
|
}
|
|
4308
|
+
},
|
|
4309
|
+
"AsymmetricAutoscalingOption": {
|
|
4310
|
+
"fields": {
|
|
4311
|
+
"replicaSelection": {
|
|
4312
|
+
"type": "ReplicaSelection",
|
|
4313
|
+
"id": 1,
|
|
4314
|
+
"options": {
|
|
4315
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4318
|
+
"overrides": {
|
|
4319
|
+
"type": "AutoscalingConfigOverrides",
|
|
4320
|
+
"id": 2,
|
|
4321
|
+
"options": {
|
|
4322
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4323
|
+
}
|
|
4324
|
+
}
|
|
4325
|
+
},
|
|
4326
|
+
"nested": {
|
|
4327
|
+
"AutoscalingConfigOverrides": {
|
|
4328
|
+
"fields": {
|
|
4329
|
+
"autoscalingLimits": {
|
|
4330
|
+
"type": "AutoscalingLimits",
|
|
4331
|
+
"id": 1,
|
|
4332
|
+
"options": {
|
|
4333
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4334
|
+
}
|
|
4335
|
+
},
|
|
4336
|
+
"autoscalingTargetHighPriorityCpuUtilizationPercent": {
|
|
4337
|
+
"type": "int32",
|
|
4338
|
+
"id": 2,
|
|
4339
|
+
"options": {
|
|
4340
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4259
4346
|
}
|
|
4260
4347
|
}
|
|
4261
4348
|
},
|
|
@@ -4295,6 +4382,14 @@
|
|
|
4295
4382
|
"type": "int32",
|
|
4296
4383
|
"id": 9
|
|
4297
4384
|
},
|
|
4385
|
+
"replicaComputeCapacity": {
|
|
4386
|
+
"rule": "repeated",
|
|
4387
|
+
"type": "ReplicaComputeCapacity",
|
|
4388
|
+
"id": 19,
|
|
4389
|
+
"options": {
|
|
4390
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4391
|
+
}
|
|
4392
|
+
},
|
|
4298
4393
|
"autoscalingConfig": {
|
|
4299
4394
|
"type": "AutoscalingConfig",
|
|
4300
4395
|
"id": 17,
|
|
@@ -4339,6 +4434,13 @@
|
|
|
4339
4434
|
"options": {
|
|
4340
4435
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
4341
4436
|
}
|
|
4437
|
+
},
|
|
4438
|
+
"defaultBackupScheduleType": {
|
|
4439
|
+
"type": "DefaultBackupScheduleType",
|
|
4440
|
+
"id": 23,
|
|
4441
|
+
"options": {
|
|
4442
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
4443
|
+
}
|
|
4342
4444
|
}
|
|
4343
4445
|
},
|
|
4344
4446
|
"nested": {
|
|
@@ -4356,6 +4458,13 @@
|
|
|
4356
4458
|
"ENTERPRISE": 2,
|
|
4357
4459
|
"ENTERPRISE_PLUS": 3
|
|
4358
4460
|
}
|
|
4461
|
+
},
|
|
4462
|
+
"DefaultBackupScheduleType": {
|
|
4463
|
+
"values": {
|
|
4464
|
+
"DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED": 0,
|
|
4465
|
+
"NONE": 1,
|
|
4466
|
+
"AUTOMATIC": 2
|
|
4467
|
+
}
|
|
4359
4468
|
}
|
|
4360
4469
|
}
|
|
4361
4470
|
},
|
|
@@ -7963,7 +8072,9 @@
|
|
|
7963
8072
|
"values": {
|
|
7964
8073
|
"NORMAL": 0,
|
|
7965
8074
|
"PLAN": 1,
|
|
7966
|
-
"PROFILE": 2
|
|
8075
|
+
"PROFILE": 2,
|
|
8076
|
+
"WITH_STATS": 3,
|
|
8077
|
+
"WITH_PLAN_AND_STATS": 4
|
|
7967
8078
|
}
|
|
7968
8079
|
},
|
|
7969
8080
|
"QueryOptions": {
|
|
@@ -8050,6 +8161,13 @@
|
|
|
8050
8161
|
"status": {
|
|
8051
8162
|
"type": "google.rpc.Status",
|
|
8052
8163
|
"id": 2
|
|
8164
|
+
},
|
|
8165
|
+
"precommitToken": {
|
|
8166
|
+
"type": "MultiplexedSessionPrecommitToken",
|
|
8167
|
+
"id": 3,
|
|
8168
|
+
"options": {
|
|
8169
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
8170
|
+
}
|
|
8053
8171
|
}
|
|
8054
8172
|
}
|
|
8055
8173
|
},
|
|
@@ -8281,6 +8399,13 @@
|
|
|
8281
8399
|
"requestOptions": {
|
|
8282
8400
|
"type": "RequestOptions",
|
|
8283
8401
|
"id": 3
|
|
8402
|
+
},
|
|
8403
|
+
"mutationKey": {
|
|
8404
|
+
"type": "Mutation",
|
|
8405
|
+
"id": 4,
|
|
8406
|
+
"options": {
|
|
8407
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
8408
|
+
}
|
|
8284
8409
|
}
|
|
8285
8410
|
}
|
|
8286
8411
|
},
|
|
@@ -8329,6 +8454,13 @@
|
|
|
8329
8454
|
"requestOptions": {
|
|
8330
8455
|
"type": "RequestOptions",
|
|
8331
8456
|
"id": 6
|
|
8457
|
+
},
|
|
8458
|
+
"precommitToken": {
|
|
8459
|
+
"type": "MultiplexedSessionPrecommitToken",
|
|
8460
|
+
"id": 9,
|
|
8461
|
+
"options": {
|
|
8462
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
8463
|
+
}
|
|
8332
8464
|
}
|
|
8333
8465
|
}
|
|
8334
8466
|
},
|
|
@@ -8414,6 +8546,13 @@
|
|
|
8414
8546
|
}
|
|
8415
8547
|
},
|
|
8416
8548
|
"CommitResponse": {
|
|
8549
|
+
"oneofs": {
|
|
8550
|
+
"MultiplexedSessionRetry": {
|
|
8551
|
+
"oneof": [
|
|
8552
|
+
"precommitToken"
|
|
8553
|
+
]
|
|
8554
|
+
}
|
|
8555
|
+
},
|
|
8417
8556
|
"fields": {
|
|
8418
8557
|
"commitTimestamp": {
|
|
8419
8558
|
"type": "google.protobuf.Timestamp",
|
|
@@ -8422,6 +8561,10 @@
|
|
|
8422
8561
|
"commitStats": {
|
|
8423
8562
|
"type": "CommitStats",
|
|
8424
8563
|
"id": 2
|
|
8564
|
+
},
|
|
8565
|
+
"precommitToken": {
|
|
8566
|
+
"type": "MultiplexedSessionPrecommitToken",
|
|
8567
|
+
"id": 4
|
|
8425
8568
|
}
|
|
8426
8569
|
},
|
|
8427
8570
|
"nested": {
|
|
@@ -8435,6 +8578,156 @@
|
|
|
8435
8578
|
}
|
|
8436
8579
|
}
|
|
8437
8580
|
},
|
|
8581
|
+
"TransactionOptions": {
|
|
8582
|
+
"oneofs": {
|
|
8583
|
+
"mode": {
|
|
8584
|
+
"oneof": [
|
|
8585
|
+
"readWrite",
|
|
8586
|
+
"partitionedDml",
|
|
8587
|
+
"readOnly"
|
|
8588
|
+
]
|
|
8589
|
+
}
|
|
8590
|
+
},
|
|
8591
|
+
"fields": {
|
|
8592
|
+
"readWrite": {
|
|
8593
|
+
"type": "ReadWrite",
|
|
8594
|
+
"id": 1
|
|
8595
|
+
},
|
|
8596
|
+
"partitionedDml": {
|
|
8597
|
+
"type": "PartitionedDml",
|
|
8598
|
+
"id": 3
|
|
8599
|
+
},
|
|
8600
|
+
"readOnly": {
|
|
8601
|
+
"type": "ReadOnly",
|
|
8602
|
+
"id": 2
|
|
8603
|
+
},
|
|
8604
|
+
"excludeTxnFromChangeStreams": {
|
|
8605
|
+
"type": "bool",
|
|
8606
|
+
"id": 5
|
|
8607
|
+
}
|
|
8608
|
+
},
|
|
8609
|
+
"nested": {
|
|
8610
|
+
"ReadWrite": {
|
|
8611
|
+
"fields": {
|
|
8612
|
+
"readLockMode": {
|
|
8613
|
+
"type": "ReadLockMode",
|
|
8614
|
+
"id": 1
|
|
8615
|
+
},
|
|
8616
|
+
"multiplexedSessionPreviousTransactionId": {
|
|
8617
|
+
"type": "bytes",
|
|
8618
|
+
"id": 2,
|
|
8619
|
+
"options": {
|
|
8620
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
8621
|
+
}
|
|
8622
|
+
}
|
|
8623
|
+
},
|
|
8624
|
+
"nested": {
|
|
8625
|
+
"ReadLockMode": {
|
|
8626
|
+
"values": {
|
|
8627
|
+
"READ_LOCK_MODE_UNSPECIFIED": 0,
|
|
8628
|
+
"PESSIMISTIC": 1,
|
|
8629
|
+
"OPTIMISTIC": 2
|
|
8630
|
+
}
|
|
8631
|
+
}
|
|
8632
|
+
}
|
|
8633
|
+
},
|
|
8634
|
+
"PartitionedDml": {
|
|
8635
|
+
"fields": {}
|
|
8636
|
+
},
|
|
8637
|
+
"ReadOnly": {
|
|
8638
|
+
"oneofs": {
|
|
8639
|
+
"timestampBound": {
|
|
8640
|
+
"oneof": [
|
|
8641
|
+
"strong",
|
|
8642
|
+
"minReadTimestamp",
|
|
8643
|
+
"maxStaleness",
|
|
8644
|
+
"readTimestamp",
|
|
8645
|
+
"exactStaleness"
|
|
8646
|
+
]
|
|
8647
|
+
}
|
|
8648
|
+
},
|
|
8649
|
+
"fields": {
|
|
8650
|
+
"strong": {
|
|
8651
|
+
"type": "bool",
|
|
8652
|
+
"id": 1
|
|
8653
|
+
},
|
|
8654
|
+
"minReadTimestamp": {
|
|
8655
|
+
"type": "google.protobuf.Timestamp",
|
|
8656
|
+
"id": 2
|
|
8657
|
+
},
|
|
8658
|
+
"maxStaleness": {
|
|
8659
|
+
"type": "google.protobuf.Duration",
|
|
8660
|
+
"id": 3
|
|
8661
|
+
},
|
|
8662
|
+
"readTimestamp": {
|
|
8663
|
+
"type": "google.protobuf.Timestamp",
|
|
8664
|
+
"id": 4
|
|
8665
|
+
},
|
|
8666
|
+
"exactStaleness": {
|
|
8667
|
+
"type": "google.protobuf.Duration",
|
|
8668
|
+
"id": 5
|
|
8669
|
+
},
|
|
8670
|
+
"returnReadTimestamp": {
|
|
8671
|
+
"type": "bool",
|
|
8672
|
+
"id": 6
|
|
8673
|
+
}
|
|
8674
|
+
}
|
|
8675
|
+
}
|
|
8676
|
+
}
|
|
8677
|
+
},
|
|
8678
|
+
"Transaction": {
|
|
8679
|
+
"fields": {
|
|
8680
|
+
"id": {
|
|
8681
|
+
"type": "bytes",
|
|
8682
|
+
"id": 1
|
|
8683
|
+
},
|
|
8684
|
+
"readTimestamp": {
|
|
8685
|
+
"type": "google.protobuf.Timestamp",
|
|
8686
|
+
"id": 2
|
|
8687
|
+
},
|
|
8688
|
+
"precommitToken": {
|
|
8689
|
+
"type": "MultiplexedSessionPrecommitToken",
|
|
8690
|
+
"id": 3
|
|
8691
|
+
}
|
|
8692
|
+
}
|
|
8693
|
+
},
|
|
8694
|
+
"TransactionSelector": {
|
|
8695
|
+
"oneofs": {
|
|
8696
|
+
"selector": {
|
|
8697
|
+
"oneof": [
|
|
8698
|
+
"singleUse",
|
|
8699
|
+
"id",
|
|
8700
|
+
"begin"
|
|
8701
|
+
]
|
|
8702
|
+
}
|
|
8703
|
+
},
|
|
8704
|
+
"fields": {
|
|
8705
|
+
"singleUse": {
|
|
8706
|
+
"type": "TransactionOptions",
|
|
8707
|
+
"id": 1
|
|
8708
|
+
},
|
|
8709
|
+
"id": {
|
|
8710
|
+
"type": "bytes",
|
|
8711
|
+
"id": 2
|
|
8712
|
+
},
|
|
8713
|
+
"begin": {
|
|
8714
|
+
"type": "TransactionOptions",
|
|
8715
|
+
"id": 3
|
|
8716
|
+
}
|
|
8717
|
+
}
|
|
8718
|
+
},
|
|
8719
|
+
"MultiplexedSessionPrecommitToken": {
|
|
8720
|
+
"fields": {
|
|
8721
|
+
"precommitToken": {
|
|
8722
|
+
"type": "bytes",
|
|
8723
|
+
"id": 1
|
|
8724
|
+
},
|
|
8725
|
+
"seqNum": {
|
|
8726
|
+
"type": "int32",
|
|
8727
|
+
"id": 2
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8730
|
+
},
|
|
8438
8731
|
"KeyRange": {
|
|
8439
8732
|
"oneofs": {
|
|
8440
8733
|
"startKeyType": {
|
|
@@ -8577,6 +8870,13 @@
|
|
|
8577
8870
|
"stats": {
|
|
8578
8871
|
"type": "ResultSetStats",
|
|
8579
8872
|
"id": 3
|
|
8873
|
+
},
|
|
8874
|
+
"precommitToken": {
|
|
8875
|
+
"type": "MultiplexedSessionPrecommitToken",
|
|
8876
|
+
"id": 5,
|
|
8877
|
+
"options": {
|
|
8878
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
8879
|
+
}
|
|
8580
8880
|
}
|
|
8581
8881
|
}
|
|
8582
8882
|
},
|
|
@@ -8602,6 +8902,13 @@
|
|
|
8602
8902
|
"stats": {
|
|
8603
8903
|
"type": "ResultSetStats",
|
|
8604
8904
|
"id": 5
|
|
8905
|
+
},
|
|
8906
|
+
"precommitToken": {
|
|
8907
|
+
"type": "MultiplexedSessionPrecommitToken",
|
|
8908
|
+
"id": 8,
|
|
8909
|
+
"options": {
|
|
8910
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
8911
|
+
}
|
|
8605
8912
|
}
|
|
8606
8913
|
}
|
|
8607
8914
|
},
|
|
@@ -8729,133 +9036,6 @@
|
|
|
8729
9036
|
}
|
|
8730
9037
|
}
|
|
8731
9038
|
},
|
|
8732
|
-
"TransactionOptions": {
|
|
8733
|
-
"oneofs": {
|
|
8734
|
-
"mode": {
|
|
8735
|
-
"oneof": [
|
|
8736
|
-
"readWrite",
|
|
8737
|
-
"partitionedDml",
|
|
8738
|
-
"readOnly"
|
|
8739
|
-
]
|
|
8740
|
-
}
|
|
8741
|
-
},
|
|
8742
|
-
"fields": {
|
|
8743
|
-
"readWrite": {
|
|
8744
|
-
"type": "ReadWrite",
|
|
8745
|
-
"id": 1
|
|
8746
|
-
},
|
|
8747
|
-
"partitionedDml": {
|
|
8748
|
-
"type": "PartitionedDml",
|
|
8749
|
-
"id": 3
|
|
8750
|
-
},
|
|
8751
|
-
"readOnly": {
|
|
8752
|
-
"type": "ReadOnly",
|
|
8753
|
-
"id": 2
|
|
8754
|
-
},
|
|
8755
|
-
"excludeTxnFromChangeStreams": {
|
|
8756
|
-
"type": "bool",
|
|
8757
|
-
"id": 5
|
|
8758
|
-
}
|
|
8759
|
-
},
|
|
8760
|
-
"nested": {
|
|
8761
|
-
"ReadWrite": {
|
|
8762
|
-
"fields": {
|
|
8763
|
-
"readLockMode": {
|
|
8764
|
-
"type": "ReadLockMode",
|
|
8765
|
-
"id": 1
|
|
8766
|
-
}
|
|
8767
|
-
},
|
|
8768
|
-
"nested": {
|
|
8769
|
-
"ReadLockMode": {
|
|
8770
|
-
"values": {
|
|
8771
|
-
"READ_LOCK_MODE_UNSPECIFIED": 0,
|
|
8772
|
-
"PESSIMISTIC": 1,
|
|
8773
|
-
"OPTIMISTIC": 2
|
|
8774
|
-
}
|
|
8775
|
-
}
|
|
8776
|
-
}
|
|
8777
|
-
},
|
|
8778
|
-
"PartitionedDml": {
|
|
8779
|
-
"fields": {}
|
|
8780
|
-
},
|
|
8781
|
-
"ReadOnly": {
|
|
8782
|
-
"oneofs": {
|
|
8783
|
-
"timestampBound": {
|
|
8784
|
-
"oneof": [
|
|
8785
|
-
"strong",
|
|
8786
|
-
"minReadTimestamp",
|
|
8787
|
-
"maxStaleness",
|
|
8788
|
-
"readTimestamp",
|
|
8789
|
-
"exactStaleness"
|
|
8790
|
-
]
|
|
8791
|
-
}
|
|
8792
|
-
},
|
|
8793
|
-
"fields": {
|
|
8794
|
-
"strong": {
|
|
8795
|
-
"type": "bool",
|
|
8796
|
-
"id": 1
|
|
8797
|
-
},
|
|
8798
|
-
"minReadTimestamp": {
|
|
8799
|
-
"type": "google.protobuf.Timestamp",
|
|
8800
|
-
"id": 2
|
|
8801
|
-
},
|
|
8802
|
-
"maxStaleness": {
|
|
8803
|
-
"type": "google.protobuf.Duration",
|
|
8804
|
-
"id": 3
|
|
8805
|
-
},
|
|
8806
|
-
"readTimestamp": {
|
|
8807
|
-
"type": "google.protobuf.Timestamp",
|
|
8808
|
-
"id": 4
|
|
8809
|
-
},
|
|
8810
|
-
"exactStaleness": {
|
|
8811
|
-
"type": "google.protobuf.Duration",
|
|
8812
|
-
"id": 5
|
|
8813
|
-
},
|
|
8814
|
-
"returnReadTimestamp": {
|
|
8815
|
-
"type": "bool",
|
|
8816
|
-
"id": 6
|
|
8817
|
-
}
|
|
8818
|
-
}
|
|
8819
|
-
}
|
|
8820
|
-
}
|
|
8821
|
-
},
|
|
8822
|
-
"Transaction": {
|
|
8823
|
-
"fields": {
|
|
8824
|
-
"id": {
|
|
8825
|
-
"type": "bytes",
|
|
8826
|
-
"id": 1
|
|
8827
|
-
},
|
|
8828
|
-
"readTimestamp": {
|
|
8829
|
-
"type": "google.protobuf.Timestamp",
|
|
8830
|
-
"id": 2
|
|
8831
|
-
}
|
|
8832
|
-
}
|
|
8833
|
-
},
|
|
8834
|
-
"TransactionSelector": {
|
|
8835
|
-
"oneofs": {
|
|
8836
|
-
"selector": {
|
|
8837
|
-
"oneof": [
|
|
8838
|
-
"singleUse",
|
|
8839
|
-
"id",
|
|
8840
|
-
"begin"
|
|
8841
|
-
]
|
|
8842
|
-
}
|
|
8843
|
-
},
|
|
8844
|
-
"fields": {
|
|
8845
|
-
"singleUse": {
|
|
8846
|
-
"type": "TransactionOptions",
|
|
8847
|
-
"id": 1
|
|
8848
|
-
},
|
|
8849
|
-
"id": {
|
|
8850
|
-
"type": "bytes",
|
|
8851
|
-
"id": 2
|
|
8852
|
-
},
|
|
8853
|
-
"begin": {
|
|
8854
|
-
"type": "TransactionOptions",
|
|
8855
|
-
"id": 3
|
|
8856
|
-
}
|
|
8857
|
-
}
|
|
8858
|
-
},
|
|
8859
9039
|
"Type": {
|
|
8860
9040
|
"fields": {
|
|
8861
9041
|
"code": {
|
|
@@ -8922,7 +9102,8 @@
|
|
|
8922
9102
|
"NUMERIC": 10,
|
|
8923
9103
|
"JSON": 11,
|
|
8924
9104
|
"PROTO": 13,
|
|
8925
|
-
"ENUM": 14
|
|
9105
|
+
"ENUM": 14,
|
|
9106
|
+
"INTERVAL": 16
|
|
8926
9107
|
}
|
|
8927
9108
|
},
|
|
8928
9109
|
"TypeAnnotationCode": {
|
|
@@ -109,6 +109,7 @@ declare class BatchTransaction extends Snapshot {
|
|
|
109
109
|
* region_tag:spanner_batch_client
|
|
110
110
|
*/
|
|
111
111
|
createQueryPartitions(query: any, callback: any): void;
|
|
112
|
+
protected getDBName(): string;
|
|
112
113
|
/**
|
|
113
114
|
* Generic create partition method. Handles common parameters used in both
|
|
114
115
|
* {@link BatchTransaction#createQueryPartitions} and {@link
|