Class Mutation (2.26.0)

Mutation()

Abstract base class for mutations.

This class defines the interface for different types of mutations that can be applied to Bigtable rows.

Methods

__str__

__str__() -> str

Return a string representation of the mutation.

Returns
Type Description
str A string representation of the mutation.

is_idempotent

is_idempotent() -> bool

Check if the mutation is idempotent

Idempotent mutations can be safely retried on failure.

Returns
Type Description
bool True if the mutation is idempotent, False otherwise.

size

size() -> int

Get the size of the mutation in bytes

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