public final class BulkMutation extends Object implements Serializable, Cloneable
This class is meant for manual batching.
Modifier and Type | Method and Description |
---|---|
BulkMutation |
add(ByteString rowKey,
Mutation mutation)
Add mutation for a particular row.
|
BulkMutation |
add(RowMutationEntry entry)
Add mutation for a particular row.
|
BulkMutation |
add(String rowKey,
Mutation mutation)
Add mutation for a particular row.
|
BulkMutation |
clone()
Creates a copy of
BulkMutation . |
static BulkMutation |
create(String tableId) |
int |
getEntryCount() |
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)
public BulkMutation add(@Nonnull RowMutationEntry entry)
public int getEntryCount()
@InternalApi public MutateRowsRequest toProto(com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext)
public BulkMutation clone()
BulkMutation
.Copyright © 2019 Google LLC. All rights reserved.