public final class BulkMutation extends Object implements Serializable
This class is meant for manual batching, while BulkMutationBatcher
is meant for
automatic batching with flow control.
Modifier and Type | Method and Description |
---|---|
BulkMutation |
add(ByteString rowKey,
Mutation mutation)
Add mutation for a particular row.
|
BulkMutation |
add(String rowKey,
Mutation mutation)
Add mutation for a particular row.
|
static BulkMutation |
create(String tableId) |
com.google.bigtable.v2.MutateRowsRequest |
toProto(com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext) |
public static BulkMutation create(String tableId)
public BulkMutation add(@Nonnull String rowKey, @Nonnull Mutation mutation)
public BulkMutation add(@Nonnull ByteString rowKey, @Nonnull Mutation mutation)
@InternalApi public com.google.bigtable.v2.MutateRowsRequest toProto(com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext)
Copyright © 2019 Google LLC. All rights reserved.