Cloud Bigtable V2 Client - Class AddToCell (2.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class AddToCell.

A Mutation which incrementally updates a cell in an Aggregate family.

Generated from protobuf message google.bigtable.v2.Mutation.AddToCell

Namespace

Google \ Cloud \ Bigtable \ V2 \ Mutation

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ family_namestring

The name of the Aggregate family into which new data should be added. This must be a family with a value_type of Aggregate. Format: [-_.a-zA-Z0-9]+

↳ column_qualifierGoogle\Cloud\Bigtable\V2\Value

The qualifier of the column into which new data should be added. This must be a raw_value.

↳ timestampGoogle\Cloud\Bigtable\V2\Value

The timestamp of the cell to which new data should be added. This must be a raw_timestamp_micros that matches the table's granularity.

↳ inputGoogle\Cloud\Bigtable\V2\Value

The input value to be accumulated into the specified cell. This must be compatible with the family's value_type.input_type.

getFamilyName

The name of the Aggregate family into which new data should be added.

This must be a family with a value_type of Aggregate. Format: [-_.a-zA-Z0-9]+

Returns
TypeDescription
string

setFamilyName

The name of the Aggregate family into which new data should be added.

This must be a family with a value_type of Aggregate. Format: [-_.a-zA-Z0-9]+

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getColumnQualifier

The qualifier of the column into which new data should be added. This must be a raw_value.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Value|null

hasColumnQualifier

clearColumnQualifier

setColumnQualifier

The qualifier of the column into which new data should be added. This must be a raw_value.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\V2\Value
Returns
TypeDescription
$this

getTimestamp

The timestamp of the cell to which new data should be added. This must be a raw_timestamp_micros that matches the table's granularity.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Value|null

hasTimestamp

clearTimestamp

setTimestamp

The timestamp of the cell to which new data should be added. This must be a raw_timestamp_micros that matches the table's granularity.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\V2\Value
Returns
TypeDescription
$this

getInput

The input value to be accumulated into the specified cell. This must be compatible with the family's value_type.input_type.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\Value|null

hasInput

clearInput

setInput

The input value to be accumulated into the specified cell. This must be compatible with the family's value_type.input_type.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\V2\Value
Returns
TypeDescription
$this