public static class BulkOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BulkOptions |
build() |
BulkOptions.Builder |
enableBulkMutationThrottling()
Enable an experimental feature that will throttle requests from
BulkMutation if
request latency surpasses a latency threshold. |
BulkOptions.Builder |
setAsyncMutatorWorkerCount(int asyncMutatorCount) |
BulkOptions.Builder |
setAutoflushMs(long autoflushMs) |
BulkOptions.Builder |
setBulkMaxRequestSize(long bulkMaxRequestSize) |
BulkOptions.Builder |
setBulkMaxRowKeyCount(int bulkMaxRowKeyCount) |
BulkOptions.Builder |
setBulkMutationRpcTargetMs(int bulkMutationRpcTargetMs) |
BulkOptions.Builder |
setMaxInflightRpcs(int maxInflightRpcs) |
BulkOptions.Builder |
setMaxMemory(long maxMemory) |
BulkOptions.Builder |
setUseBulkApi(boolean useBulkApi) |
public BulkOptions.Builder setAsyncMutatorWorkerCount(int asyncMutatorCount)
public BulkOptions.Builder setUseBulkApi(boolean useBulkApi)
public BulkOptions.Builder setBulkMaxRowKeyCount(int bulkMaxRowKeyCount)
public BulkOptions.Builder setBulkMaxRequestSize(long bulkMaxRequestSize)
public BulkOptions.Builder setAutoflushMs(long autoflushMs)
public BulkOptions.Builder setMaxInflightRpcs(int maxInflightRpcs)
public BulkOptions.Builder setMaxMemory(long maxMemory)
public BulkOptions.Builder enableBulkMutationThrottling()
BulkMutation
if
request latency surpasses a latency threshold. The default is
BulkOptions.BIGTABLE_BULK_THROTTLE_TARGET_MS_DEFAULT
.public BulkOptions.Builder setBulkMutationRpcTargetMs(int bulkMutationRpcTargetMs)
public BulkOptions build()