Class RowMutationEntry (2.24.0)

RowMutationEntry(
    row_key: bytes | str,
    mutations: (
        google.cloud.bigtable.data.mutations.Mutation
        | list[google.cloud.bigtable.data.mutations.Mutation]
    ),
)

A single entry in a MutateRows request.

This class represents a set of mutations to apply to a specific row in a Bigtable table.

Methods

is_idempotent

is_idempotent() -> bool

Check if all mutations in the entry are idempotent.

Returns
Type Description
bool True if all mutations in the entry are idempotent, False otherwise.

size

size() -> int

Get the size of the mutation entry in bytes.

Returns
Type Description
int The size of the mutation entry in bytes.