@InternalApi(value="For internal usage only") public interface BulkMutationWrapper extends AutoCloseable
For internal use only - public for technical reasons.
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.
|
com.google.api.core.ApiFuture<Void> add(com.google.cloud.bigtable.data.v2.models.RowMutationEntry rowMutation)
RowMutationEntry
to the underlying batch for mutations.void sendUnsent()
void flush() throws InterruptedException
InterruptedException
void close() throws IOException
close
in interface AutoCloseable
IOException