Row
(
row_key
,
table
=
None
)
Base representation of a Google Cloud Bigtable Row.
This class has three subclasses corresponding to the three RPC methods for sending row mutations:
-
DirectRow
forMutateRow
-
ConditionalRow
forCheckAndMutateRow
-
AppendRow
forReadModifyWriteRow
Parameters
Name | Description |
row_key
|
bytes
The key for the current row. |
table
|
Table
(Optional) The table that owns the row. |
Properties
row_key
Row key.
For example:
.. literalinclude:: snippets_table.py :start-after: [START bigtable_api_row_row_key] :end-before: [END bigtable_api_row_row_key] :dedent: 4
Type | Description |
bytes
|
The key for the current row. |
table
Row table.
For example:
.. literalinclude:: snippets_table.py :start-after: [START bigtable_api_row_table] :end-before: [END bigtable_api_row_table] :dedent: 4
Type | Description |
table: Table
|
table: The table that owns the row. |