Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::Mutation (v1.5.0)

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

Specifies a particular change to be made to the contents of a row.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#add_to_cell

def add_to_cell() -> ::Google::Cloud::Bigtable::V2::Mutation::AddToCell
Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::AddToCell) — Incrementally updates an Aggregate cell.

    Note: The following fields are mutually exclusive: add_to_cell, set_cell, merge_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#add_to_cell=

def add_to_cell=(value) -> ::Google::Cloud::Bigtable::V2::Mutation::AddToCell
Parameter
  • value (::Google::Cloud::Bigtable::V2::Mutation::AddToCell) — Incrementally updates an Aggregate cell.

    Note: The following fields are mutually exclusive: add_to_cell, set_cell, merge_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::AddToCell) — Incrementally updates an Aggregate cell.

    Note: The following fields are mutually exclusive: add_to_cell, set_cell, merge_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_from_column

def delete_from_column() -> ::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn
Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn) — Deletes cells from a column.

    Note: The following fields are mutually exclusive: delete_from_column, set_cell, add_to_cell, merge_to_cell, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_from_column=

def delete_from_column=(value) -> ::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn
Parameter
  • value (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn) — Deletes cells from a column.

    Note: The following fields are mutually exclusive: delete_from_column, set_cell, add_to_cell, merge_to_cell, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromColumn) — Deletes cells from a column.

    Note: The following fields are mutually exclusive: delete_from_column, set_cell, add_to_cell, merge_to_cell, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_from_family

def delete_from_family() -> ::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily
Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily) — Deletes cells from a column family.

    Note: The following fields are mutually exclusive: delete_from_family, set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_from_family=

def delete_from_family=(value) -> ::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily
Parameter
  • value (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily) — Deletes cells from a column family.

    Note: The following fields are mutually exclusive: delete_from_family, set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromFamily) — Deletes cells from a column family.

    Note: The following fields are mutually exclusive: delete_from_family, set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_from_row

def delete_from_row() -> ::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow
Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow) — Deletes cells from the entire row.

    Note: The following fields are mutually exclusive: delete_from_row, set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_family. If a field in that set is populated, all other fields in the set will automatically be cleared.

#delete_from_row=

def delete_from_row=(value) -> ::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow
Parameter
  • value (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow) — Deletes cells from the entire row.

    Note: The following fields are mutually exclusive: delete_from_row, set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_family. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::DeleteFromRow) — Deletes cells from the entire row.

    Note: The following fields are mutually exclusive: delete_from_row, set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_family. If a field in that set is populated, all other fields in the set will automatically be cleared.

#merge_to_cell

def merge_to_cell() -> ::Google::Cloud::Bigtable::V2::Mutation::MergeToCell
Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::MergeToCell) — Merges accumulated state to an Aggregate cell.

    Note: The following fields are mutually exclusive: merge_to_cell, set_cell, add_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#merge_to_cell=

def merge_to_cell=(value) -> ::Google::Cloud::Bigtable::V2::Mutation::MergeToCell
Parameter
  • value (::Google::Cloud::Bigtable::V2::Mutation::MergeToCell) — Merges accumulated state to an Aggregate cell.

    Note: The following fields are mutually exclusive: merge_to_cell, set_cell, add_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::MergeToCell) — Merges accumulated state to an Aggregate cell.

    Note: The following fields are mutually exclusive: merge_to_cell, set_cell, add_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#set_cell

def set_cell() -> ::Google::Cloud::Bigtable::V2::Mutation::SetCell
Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::SetCell) — Set a cell's value.

    Note: The following fields are mutually exclusive: set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#set_cell=

def set_cell=(value) -> ::Google::Cloud::Bigtable::V2::Mutation::SetCell
Parameter
  • value (::Google::Cloud::Bigtable::V2::Mutation::SetCell) — Set a cell's value.

    Note: The following fields are mutually exclusive: set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Bigtable::V2::Mutation::SetCell) — Set a cell's value.

    Note: The following fields are mutually exclusive: set_cell, add_to_cell, merge_to_cell, delete_from_column, delete_from_family, delete_from_row. If a field in that set is populated, all other fields in the set will automatically be cleared.