Cloud Bigtable V2 Client - Class MutationChunk (1.25.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\MutationChunk\ChunkInfo
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\Bigtable\V2\Mutation
Returns
TypeDescription
$this