As of January 1, 2020 this library no longer supports Python 2 on the latest released version.
Library versions released prior to that date will continue to be available. For more information please
visit Python 2 support on Google Cloud.
Mutations¶
- class google.cloud.bigtable.data.mutations.DeleteRangeFromColumn(family: 'str', qualifier: 'bytes', start_timestamp_micros: 'int | None' = None, end_timestamp_micros: 'int | None' = None)[source]¶
- class google.cloud.bigtable.data.mutations.Mutation[source]¶
Bases:
abc.ABC
Model class for mutations
- class google.cloud.bigtable.data.mutations.SetCell(family: str, qualifier: bytes | str, new_value: bytes | str | int, timestamp_micros: int | None = None)[source]¶
Bases:
google.cloud.bigtable.data.mutations.Mutation
Mutation to set the value of a cell
- Parameters
family (-) – The name of the column family to which the new cell belongs.
qualifier (-) – The column qualifier of the new cell.
new_value (-) – The value of the new cell. str or int input will be converted to bytes
timestamp_micros (-) – The timestamp of the new cell. If None, the current timestamp will be used. Timestamps will be sent with milisecond-percision. Extra precision will be truncated. If -1, the server will assign a timestamp. Note that SetCell mutations with server-side timestamps are non-idempotent operations and will not be retried.