Module data.row (2.24.0)

API documentation for bigtable.data.row module.

Classes

Cell

Cell(
    value: bytes,
    row_key: bytes,
    family: str,
    qualifier: bytes | str,
    timestamp_micros: int,
    labels: typing.Optional[list[str]] = None,
)

Model class for cell data

Does not represent all data contained in the cell, only data returned by a query. Expected to be read-only to users, and written by backend

Row

Row(key: bytes, cells: list[google.cloud.bigtable.data.row.Cell])

Model class for row data returned from server

Does not represent all data contained in the row, only data returned by a query. Expected to be read-only to users, and written by backend

Can be indexed by family and qualifier to get cells in the row::

cells = row["family", "qualifier"]