public final class BulkMutation implements Serializable, Cloneable
Represents a list of mutations for multiple rows. Each mutation contains multiple changes that
will be atomically applied to each row. However, ordering between rows is not guaranteed.
public static BulkMutation fromProto(MutateRowsRequest request)
Wraps the protobuf MutateRowsRequest.
This is meant for advanced usage only. Please ensure that the MutateRowsRequest does not use
server side timestamps. The BigtableDataClient assumes that mutation present in BulkMutation
are idempotent and is configured to enable retries by default. If serverside timestamps are
enabled then that can lead to duplicate mutations.
WARNING: when applied, the resulting mutation object will ignore the project id and instance
id in the table_name and instead apply the configuration in the client.
Add mutation for a particular row. The changes in the mutation will be applied atomic. However
there is no guarantees about the relative ordering between mutations affecting different rows.
public BulkMutation add(ByteString rowKey, Mutation mutation)
Add mutation for a particular row. The changes in the mutation will be applied atomic. However
there is no guarantees about the relative ordering between mutations affecting different rows.
public BulkMutation add(String rowKey, Mutation mutation)
Add mutation for a particular row. The changes in the mutation will be applied atomically.
However there is no guarantees about the relative ordering between mutations affecting
different rows.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]