@BetaApi(value="This surface is likely to change as the batching surface evolves.") public class BigtableBulkReadRowsCallSettings extends com.google.api.gax.rpc.UnaryCallSettings<Query,List<Row>>
Sample configuration:
BigtableBulkReadRowsCallSettings defaultBulkReadCallSettings =
bigtableDataCallSettings.getStubSettings().bulkReadRowsSettings();
BigtableBulkReadRowsCallSettings customBulkReadCallSettings = defaultBulkReadCallSettings
.toBuilder()
.setBatchingSettings(
defaultBulkReadCallSettings.getBatchingSettings().toBuilder()
.setDelayThreshold(Duration.ofSeconds(10))
.build())
.setRetryableCodes(Code.DEADLINE_EXCEEDED)
.build();
for batching thresholds explantion.,
for retry configuration.| Modifier and Type | Class and Description |
|---|---|
static class |
BigtableBulkReadRowsCallSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.batching.BatchingSettings |
getBatchingSettings()
Returns batching settings which contains multiple batch threshold levels.
|
BigtableBulkReadRowsCallSettings.Builder |
toBuilder()
Get a builder with the same values as this object.
|
public com.google.api.gax.batching.BatchingSettings getBatchingSettings()
public final BigtableBulkReadRowsCallSettings.Builder toBuilder()
BigtableBatchingCallSettings for a sample settings configuration.Copyright © 2020 Google LLC. All rights reserved.