Cloud Bigtable V2 Client - Class MutationChunk (2.5.0)

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

A partial or complete mutation.

Generated from protobuf message google.bigtable.v2.ReadChangeStreamResponse.MutationChunk

Namespace

Google \ Cloud \ Bigtable \ V2 \ ReadChangeStreamResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ chunk_info Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk\ChunkInfo

If set, then the mutation is a SetCell with a chunked value across multiple messages.

↳ mutation Google\Cloud\Bigtable\V2\Mutation

If this is a continuation of a chunked message (chunked_value_offset > 0), ignore all fields except the SetCell's value and merge it with the previous message by concatenating the value fields.

getChunkInfo

If set, then the mutation is a SetCell with a chunked value across multiple messages.

Returns
Type Description
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk\ChunkInfo|null

hasChunkInfo

clearChunkInfo

setChunkInfo

If set, then the mutation is a SetCell with a chunked value across multiple messages.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk\ChunkInfo
Returns
Type Description
$this

getMutation

If this is a continuation of a chunked message (chunked_value_offset > 0), ignore all fields except the SetCell's value and merge it with the previous message by concatenating the value fields.

Returns
Type Description
Google\Cloud\Bigtable\V2\Mutation|null

hasMutation

clearMutation

setMutation

If this is a continuation of a chunked message (chunked_value_offset > 0), ignore all fields except the SetCell's value and merge it with the previous message by concatenating the value fields.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\Mutation
Returns
Type Description
$this