@InternalApi public class MutateRowsBatchingDescriptor extends Object implements com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>
BatchingDescriptor to split individual results in a MutateRowsException. Each individual result will be matched with its issuer.
This class is considered an internal implementation detail and not meant to be used by applications directly.
| Constructor and Description |
|---|
MutateRowsBatchingDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
long |
countBytes(MutateRowsRequest request) |
long |
countElements(MutateRowsRequest request) |
com.google.api.gax.batching.PartitionKey |
getBatchPartitionKey(MutateRowsRequest request)
Return the target table name.
|
com.google.api.gax.batching.RequestBuilder<MutateRowsRequest> |
getRequestBuilder() |
void |
splitException(Throwable throwable,
Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<Void>> batch) |
void |
splitResponse(Void batchResponse,
Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<Void>> batch) |
public com.google.api.gax.batching.PartitionKey getBatchPartitionKey(MutateRowsRequest request)
getBatchPartitionKey in interface com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>public com.google.api.gax.batching.RequestBuilder<MutateRowsRequest> getRequestBuilder()
getRequestBuilder in interface com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>public void splitResponse(Void batchResponse, Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<Void>> batch)
splitResponse in interface com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>public void splitException(Throwable throwable, Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<Void>> batch)
splitException in interface com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>public long countElements(MutateRowsRequest request)
countElements in interface com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>public long countBytes(MutateRowsRequest request)
countBytes in interface com.google.api.gax.rpc.BatchingDescriptor<MutateRowsRequest,Void>Copyright © 2018 Google LLC. All rights reserved.