Class: Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::DataChange
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::DataChange
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/bigtable.rb
Overview
A message corresponding to one or more mutations to the partition
being streamed. A single logical DataChange message may also be split
across a sequence of multiple individual messages. Messages other than
the first in a sequence will only have the type and chunks fields
populated, with the final message in the sequence also containing done
set to true.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#chunks ⇒ ::Array<::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk>
The mutations associated with this change to the partition.
-
#commit_timestamp ⇒ ::Google::Protobuf::Timestamp
The timestamp at which the mutation was applied on the Bigtable server.
-
#done ⇒ ::Boolean
When true, indicates that the entire
DataChangehas been read and the client can safely process the message. -
#estimated_low_watermark ⇒ ::Google::Protobuf::Timestamp
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.
-
#row_key ⇒ ::String
The row key for all mutations that are part of this
DataChange. -
#source_cluster_id ⇒ ::String
The cluster where the mutation was applied.
-
#tiebreaker ⇒ ::Integer
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.
-
#token ⇒ ::String
An encoded position for this stream's partition to restart reading from.
-
#type ⇒ ::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::DataChange::Type
The type of the mutation.
Instance Attribute Details
#chunks ⇒ ::Array<::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::MutationChunk>
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#commit_timestamp ⇒ ::Google::Protobuf::Timestamp
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#done ⇒ ::Boolean
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#estimated_low_watermark ⇒ ::Google::Protobuf::Timestamp
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#row_key ⇒ ::String
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#source_cluster_id ⇒ ::String
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#tiebreaker ⇒ ::Integer
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#token ⇒ ::String
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |
#type ⇒ ::Google::Cloud::Bigtable::V2::ReadChangeStreamResponse::DataChange::Type
576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 |
# File 'proto_docs/google/bigtable/v2/bigtable.rb', line 576 class DataChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of mutation. module Type # The type is unspecified. TYPE_UNSPECIFIED = 0 # A user-initiated mutation. USER = 1 # A system-initiated mutation as part of garbage collection. # https://cloud.google.com/bigtable/docs/garbage-collection GARBAGE_COLLECTION = 2 # This is a continuation of a multi-message change. CONTINUATION = 3 end end |