Reference documentation and code samples for the Cloud Bigtable Client class ReadModifyWriteRowRules.
This is a builder class which builds read/modify/write rules specifying how
the specified rows contents are to be transformed into writes. Entries are
applied in order, meaning that earlier rules will affect the results of later
ones. This is intended to be used in combination with
Table::readModifyWriteRow().
Namespace
Google \ Cloud \ Bigtable
Methods
append
Appends the value to the existing value of the cell. If targeted cell is unset,
it will be treated as containing the empty string.
Adds amount to the existing value. If the targeted cell is unset, it will be treated
as containing a zero. Otherwise, the targeted cell must containt an 8-byte value (interpreted
as a 64-bit big-endian signed integer), or the entire request will fail.
[[["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,["# Cloud Bigtable Client - Class ReadModifyWriteRowRules (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/ReadModifyWriteRowRules)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/ReadModifyWriteRowRules)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/ReadModifyWriteRowRules)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/ReadModifyWriteRowRules)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/ReadModifyWriteRowRules)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/ReadModifyWriteRowRules)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/ReadModifyWriteRowRules)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/ReadModifyWriteRowRules)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/ReadModifyWriteRowRules)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/ReadModifyWriteRowRules)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/ReadModifyWriteRowRules)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/ReadModifyWriteRowRules)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/ReadModifyWriteRowRules)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/ReadModifyWriteRowRules)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/ReadModifyWriteRowRules)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/ReadModifyWriteRowRules)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/ReadModifyWriteRowRules)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/ReadModifyWriteRowRules)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/ReadModifyWriteRowRules)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/ReadModifyWriteRowRules)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/ReadModifyWriteRowRules)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/ReadModifyWriteRowRules)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/ReadModifyWriteRowRules)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/ReadModifyWriteRowRules)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/ReadModifyWriteRowRules)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/ReadModifyWriteRowRules)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/ReadModifyWriteRowRules)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/ReadModifyWriteRowRules)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/ReadModifyWriteRowRules)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/ReadModifyWriteRowRules)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/ReadModifyWriteRowRules) \nReference documentation and code samples for the Cloud Bigtable Client class ReadModifyWriteRowRules.\n\nThis is a builder class which builds read/modify/write rules specifying how\nthe specified rows contents are to be transformed into writes. Entries are\napplied in order, meaning that earlier rules will affect the results of later\nones. This is intended to be used in combination with\n[Table::readModifyWriteRow()](/php/docs/reference/cloud-bigtable/latest/Table#_Google_Cloud_Bigtable_Table__readModifyWriteRow__).\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable\n\nMethods\n-------\n\n### append\n\nAppends the value to the existing value of the cell. If targeted cell is unset,\nit will be treated as containing the empty string.\n\n### increment\n\nAdds `amount` to the existing value. If the targeted cell is unset, it will be treated\nas containing a zero. Otherwise, the targeted cell must containt an 8-byte value (interpreted\nas a 64-bit big-endian signed integer), or the entire request will fail.\n\n### toProto\n\nReturns proto representation of ReadModifyWriteRule."]]