Class: Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/bigtable.rb
Overview
A partial or complete mutation.
Defined Under Namespace
Classes: ChunkInfo
Instance Attribute Summary collapse
-
#chunk_info ⇒ ::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk::ChunkInfo
If set, then the mutation is a
SetCellwith 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 theSetCell's value and merge it with the previous message by concatenating the value fields.
Instance Attribute Details
#chunk_info ⇒ ::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk::ChunkInfo
Returns If set, then the mutation is a SetCell with a chunked value across
multiple messages.
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 502 class MutationChunk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about the chunking of this mutation. # Only `SetCell` mutations can be chunked, and all chunks for a `SetCell` # will be delivered contiguously with no other mutation types interleaved. # @!attribute [rw] chunked_value_size # @return [::Integer] # The total value size of all the chunks that make up the `SetCell`. # @!attribute [rw] chunked_value_offset # @return [::Integer] # The byte offset of this chunk into the total value size of the # mutation. # @!attribute [rw] last_chunk # @return [::Boolean] # When true, this is the last chunk of a chunked `SetCell`. class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#mutation ⇒ ::Google::Cloud::Bigtable::V2::Mutation
Returns 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.
502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 502 class MutationChunk include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about the chunking of this mutation. # Only `SetCell` mutations can be chunked, and all chunks for a `SetCell` # will be delivered contiguously with no other mutation types interleaved. # @!attribute [rw] chunked_value_size # @return [::Integer] # The total value size of all the chunks that make up the `SetCell`. # @!attribute [rw] chunked_value_offset # @return [::Integer] # The byte offset of this chunk into the total value size of the # mutation. # @!attribute [rw] last_chunk # @return [::Boolean] # When true, this is the last chunk of a chunked `SetCell`. class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |