request (data_messages_v2_pb2.ReadRowsRequest) – The ReadRowsRequest message used to create a
ReadRowsResponse iterator. If the iterator fails, a new
iterator is created, allowing the scan to continue from
the point just beyond the last successfully read row,
identified by self.last_scanned_row_key. The retry happens
inside of the Retry class, using a predicate for the
expected exceptions during iteration.
retry (Retry) – (Optional) Retry delay and deadline arguments. To override,
the default value DEFAULT_RETRY_READ_ROWS can be
used and modified with the
with_delay() method
or the
with_deadline() method.
_iter_()
Consume the ReadRowsResponse s from the stream.
Read the rows and yield each to the reader
Parse the response and its chunks into a new/existing row in
_rows. Rows are returned in order by row key.
cancel()
Cancels the iterator, closing the stream.
consume_all(max_loops=None)
Consume the streamed responses until there are no more.
WARNING: This method will be removed in future releases. Please use this
class as a generator instead.
Parameters
max_loops (int) – (Optional) Maximum number of times to try to consume
an additional ReadRowsResponse. You can use this
to avoid long wait times.
property state()
this property is deprecated and will be removed in the
future.
Type
DEPRECATED
google.cloud.bigtable.row_data.RETRYABLE_INTERNAL_ERROR_MESSAGES( = ('rst_stream', 'rst stream', 'received unexpected eos on data frame from server' )
Internal error messages that can be retried during read row and mutation.
[[["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 2025-08-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [2.32.0 (latest)](/python/docs/reference/bigtable/latest/row-data)\n- [2.31.0](/python/docs/reference/bigtable/2.31.0/row-data)\n- [2.30.1](/python/docs/reference/bigtable/2.30.1/row-data)\n- [2.29.0](/python/docs/reference/bigtable/2.29.0/row-data)\n- [2.28.1](/python/docs/reference/bigtable/2.28.1/row-data)\n- [2.26.0](/python/docs/reference/bigtable/2.26.0/row-data)\n- [2.25.0](/python/docs/reference/bigtable/2.25.0/row-data)\n- [2.24.0](/python/docs/reference/bigtable/2.24.0/row-data)\n- [2.23.1](/python/docs/reference/bigtable/2.23.1/row-data)\n- [2.22.0](/python/docs/reference/bigtable/2.22.0/row-data)\n- [2.21.0](/python/docs/reference/bigtable/2.21.0/row-data)\n- [2.20.0](/python/docs/reference/bigtable/2.20.0/row-data)\n- [2.19.0](/python/docs/reference/bigtable/2.19.0/row-data)\n- [2.18.1](/python/docs/reference/bigtable/2.18.1/row-data)\n- [2.17.0](/python/docs/reference/bigtable/2.17.0/row-data)\n- [2.16.0](/python/docs/reference/bigtable/2.16.0/row-data)\n- [2.15.0](/python/docs/reference/bigtable/2.15.0/row-data)\n- [2.14.1](/python/docs/reference/bigtable/2.14.1/row-data)\n- [2.13.2](/python/docs/reference/bigtable/2.13.2/row-data)\n- [2.12.0](/python/docs/reference/bigtable/2.12.0/row-data)\n- [2.11.3](/python/docs/reference/bigtable/2.11.3/row-data)\n- [2.10.1](/python/docs/reference/bigtable/2.10.1/row-data)\n- [2.9.0](/python/docs/reference/bigtable/2.9.0/row-data)\n- [2.8.1](/python/docs/reference/bigtable/2.8.1/row-data)\n- [2.7.1](/python/docs/reference/bigtable/2.7.1/row-data)\n- [2.6.0](/python/docs/reference/bigtable/2.6.0/row-data)\n- [2.5.2](/python/docs/reference/bigtable/2.5.2/row-data)\n- [2.4.0](/python/docs/reference/bigtable/2.4.0/row-data)\n- [2.3.3](/python/docs/reference/bigtable/2.3.3/row-data)\n- [2.2.0](/python/docs/reference/bigtable/2.2.0/row-data)\n- [2.1.0](/python/docs/reference/bigtable/2.1.0/row-data)\n- [2.0.0](/python/docs/reference/bigtable/2.0.0/row-data)\n- [1.7.3](/python/docs/reference/bigtable/1.7.3/row-data)\n- [1.6.1](/python/docs/reference/bigtable/1.6.1/row-data)\n- [1.5.1](/python/docs/reference/bigtable/1.5.1/row-data)\n- [1.4.0](/python/docs/reference/bigtable/1.4.0/row-data)\n- [1.3.0](/python/docs/reference/bigtable/1.3.0/row-data)\n- [1.2.1](/python/docs/reference/bigtable/1.2.1/row-data)\n- [1.1.0](/python/docs/reference/bigtable/1.1.0/row-data)\n- [1.0.0](/python/docs/reference/bigtable/1.0.0/row-data)\n- [0.34.0](/python/docs/reference/bigtable/0.34.0/row-data) \n\nRow Data\n========\n\nContainer for Google Cloud Bigtable Cells and Streaming Row Contents.\n\n### google.cloud.bigtable.row_data.DEFAULT_RETRY_READ_ROWS(*= \\\u003cgoogle.api_core.retry.retry_unary.Retry object* )\n\nThe default retry strategy to be used on retry-able errors.\n\nUsed by\n`_read_next_response()`.\n\n### *exception* google.cloud.bigtable.row_data.InvalidReadRowsResponse()\n\nBases: [`RuntimeError`](https://docs.python.org/3/library/exceptions.html#RuntimeError)\n\nException raised to invalid response data from back-end.\n\n### *exception* google.cloud.bigtable.row_data.InvalidRetryRequest()\n\nBases: [`RuntimeError`](https://docs.python.org/3/library/exceptions.html#RuntimeError)\n\nException raised when retry request is invalid.\n\n### *class* google.cloud.bigtable.row_data.PartialCellData(row_key, family_name, qualifier, timestamp_micros, labels=(), value=b'')\n\nBases: [`object`](https://docs.python.org/3/library/functions.html#object)\n\nThis class is no longer used and will be removed in the future\n\n### *class* google.cloud.bigtable.row_data.PartialRowsData(read_method, request, retry=\\\u003cgoogle.api_core.retry.retry_unary.Retry object\\\u003e)\n\nBases: [`object`](https://docs.python.org/3/library/functions.html#object)\n\nConvenience wrapper for consuming a `ReadRows` streaming response.\n\n- **Parameters**\n\n - **read_method** (`client._table_data_client.read_rows`) -- `ReadRows` method.\n\n - **request** (`data_messages_v2_pb2.ReadRowsRequest`) -- The `ReadRowsRequest` message used to create a\n ReadRowsResponse iterator. If the iterator fails, a new\n iterator is created, allowing the scan to continue from\n the point just beyond the last successfully read row,\n identified by self.last_scanned_row_key. The retry happens\n inside of the Retry class, using a predicate for the\n expected exceptions during iteration.\n\n - **retry** ([`Retry`](https://googleapis.dev/python/google-api-core/latest/retry.html#google.api_core.retry.Retry)) -- (Optional) Retry delay and deadline arguments. To override,\n the default value `DEFAULT_RETRY_READ_ROWS` can be\n used and modified with the\n `with_delay()` method\n or the\n `with_deadline()` method.\n\n#### _*iter_*()\n\nConsume the `ReadRowsResponse` s from the stream.\nRead the rows and yield each to the reader\n\nParse the response and its chunks into a new/existing row in\n`_rows`. Rows are returned in order by row key.\n\n#### cancel()\n\nCancels the iterator, closing the stream.\n\n#### consume_all(max_loops=None)\n\nConsume the streamed responses until there are no more.\n\n**WARNING**: This method will be removed in future releases. Please use this\nclass as a generator instead.\n\n- **Parameters**\n\n **max_loops** ([*int*](https://docs.python.org/3/library/functions.html#int)) -- (Optional) Maximum number of times to try to consume\n an additional `ReadRowsResponse`. You can use this\n to avoid long wait times.\n\n#### *property* state()\n\nthis property is deprecated and will be removed in the\nfuture.\n\n- **Type**\n\n DEPRECATED\n\n### google.cloud.bigtable.row_data.RETRYABLE_INTERNAL_ERROR_MESSAGES(*= ('rst_stream', 'rst stream', 'received unexpected eos on data frame from server'* )\n\nInternal error messages that can be retried during read row and mutation."]]