Class: Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::Mod
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::Mod
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/v1/change_stream.rb
Overview
A mod describes all data changes in a watched table row.
Instance Attribute Summary collapse
-
#keys ⇒ ::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>
Returns the value of the primary key of the modified row.
-
#new_values ⇒ ::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>
Returns the new values after the change for the modified columns.
-
#old_values ⇒ ::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>
Returns the old values before the change for the modified columns.
Instance Attribute Details
#keys ⇒ ::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>
Returns the value of the primary key of the modified row.
197 198 199 200 |
# File 'proto_docs/google/spanner/v1/change_stream.rb', line 197 class Mod include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#new_values ⇒ ::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>
Returns the new values after the change for the modified columns. Always empty for DELETE.
197 198 199 200 |
# File 'proto_docs/google/spanner/v1/change_stream.rb', line 197 class Mod include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#old_values ⇒ ::Array<::Google::Cloud::Spanner::V1::ChangeStreamRecord::DataChangeRecord::ModValue>
Returns the old values before the change for the modified columns. Always empty for INSERT, or if old values are not being captured specified by value_capture_type.
197 198 199 200 |
# File 'proto_docs/google/spanner/v1/change_stream.rb', line 197 class Mod include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |