Class BigtableBulkReadRowsCallSettings
-
@BetaApi("This surface is likely to change as the batching surface evolves.") public class BigtableBulkReadRowsCallSettings extends com.google.api.gax.rpc.UnaryCallSettings<Query,List<Row>>
This settings holds the batching thresholds as well as retry configuration for bulk read API.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();
- See Also:
for batching thresholds explantion.
,for retry configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BigtableBulkReadRowsCallSettings.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getBatchingSettings
public com.google.api.gax.batching.BatchingSettings getBatchingSettings()
Returns batching settings which contains multiple batch threshold levels.
-
toBuilder
public final BigtableBulkReadRowsCallSettings.Builder toBuilder()
Get a builder with the same values as this object. See the class documentation ofBigtableBatchingCallSettings
for a sample settings configuration.
-
-