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.
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 619 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.
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 619 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 |