Class BigtableBulkReadRowsCallSettings (2.17.1)

public class BigtableBulkReadRowsCallSettings extends 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: RetrySettingsfor retry configuration., BatchingSettingsfor batching thresholds explantion.

Inheritance

java.lang.Object > UnaryCallSettings > BigtableBulkReadRowsCallSettings

Methods

getBatchingSettings()

public BatchingSettings getBatchingSettings()

Returns batching settings which contains multiple batch threshold levels.

Returns
TypeDescription
BatchingSettings

toBuilder()

public final BigtableBulkReadRowsCallSettings.Builder toBuilder()

Get a builder with the same values as this object. See the class documentation of BigtableBatchingCallSettings for a sample settings configuration.

Returns
TypeDescription
BigtableBulkReadRowsCallSettings.Builder
Overrides