@InternalApi(value="For internal usage only") public class BulkMutationVeneerApi extends Object implements BulkMutationWrapper
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<Void> |
add(com.google.cloud.bigtable.data.v2.models.RowMutationEntry rowMutation)
Adds a
RowMutationEntry to the underlying batch for mutations. |
void |
close()
Closes this bulk Mutation and prevents from mutating any more elements.
|
void |
flush()
Sends any outstanding RowMutationEntry and blocks until all requests are complete.
|
void |
sendUnsent()
Sends any outstanding entry, present in the current batch but doesn't wait for response.
|
public com.google.api.core.ApiFuture<Void> add(com.google.cloud.bigtable.data.v2.models.RowMutationEntry rowMutation)
RowMutationEntry to the underlying batch for mutations.add in interface BulkMutationWrapperpublic void sendUnsent()
sendUnsent in interface BulkMutationWrapperpublic void flush()
flush in interface BulkMutationWrapperpublic void close()
throws IOException
BulkMutationWrapperclose in interface BulkMutationWrapperclose in interface AutoCloseableIOException