@InternalApi public class DummyBatchingDescriptor<RequestT,ResponseT> extends Object implements com.google.api.gax.rpc.BatchingDescriptor<RequestT,ResponseT>
EnhancedBigtableStub.bulkMutateRowsCallable(). The
settings are exposed to the user using the RowMutation wrapper, but the actual descriptor works on
the underlying MutateRowsRequests. This class is used as a
placeholder for the settings and is replaced with the actual implementation of MutateRowsBatchingDescriptor when constructing
the callable chain.
This class is considered an internal implementation detail and not meant to be used by applications.
| Constructor and Description |
|---|
DummyBatchingDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
long |
countBytes(RequestT request) |
long |
countElements(RequestT request) |
com.google.api.gax.batching.PartitionKey |
getBatchPartitionKey(RequestT request) |
com.google.api.gax.batching.RequestBuilder<RequestT> |
getRequestBuilder() |
void |
splitException(Throwable throwable,
Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<ResponseT>> collection) |
void |
splitResponse(ResponseT response,
Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<ResponseT>> collection) |
public com.google.api.gax.batching.PartitionKey getBatchPartitionKey(RequestT request)
public com.google.api.gax.batching.RequestBuilder<RequestT> getRequestBuilder()
public void splitResponse(ResponseT response, Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<ResponseT>> collection)
public void splitException(Throwable throwable, Collection<? extends com.google.api.gax.rpc.BatchedRequestIssuer<ResponseT>> collection)
public long countElements(RequestT request)
Copyright © 2018 Google LLC. All rights reserved.