Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::ReadModifyWriteRule (v1.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::ReadModifyWriteRule.

Specifies an atomic read/modify/write operation on the latest value of the specified column.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#append_value

def append_value() -> ::String
Returns
  • (::String) — Rule specifying that append_value be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.

#append_value=

def append_value=(value) -> ::String
Parameter
  • value (::String) — Rule specifying that append_value be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.
Returns
  • (::String) — Rule specifying that append_value be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.

#column_qualifier

def column_qualifier() -> ::String
Returns
  • (::String) — The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.

#column_qualifier=

def column_qualifier=(value) -> ::String
Parameter
  • value (::String) — The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.
Returns
  • (::String) — The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.

#family_name

def family_name() -> ::String
Returns
  • (::String) — The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+

#family_name=

def family_name=(value) -> ::String
Parameter
  • value (::String) — The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+
Returns
  • (::String) — The name of the family to which the read/modify/write should be applied. Must match [-_.a-zA-Z0-9]+

#increment_amount

def increment_amount() -> ::Integer
Returns
  • (::Integer) — Rule specifying that increment_amount be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.

#increment_amount=

def increment_amount=(value) -> ::Integer
Parameter
  • value (::Integer) — Rule specifying that increment_amount be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.
Returns
  • (::Integer) — Rule specifying that increment_amount be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.