Class: Google::Cloud::Bigtable::V2::Type::Map

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/bigtable/v2/types.rb

Overview

A mapping of keys to values of a given type. Values of type Map are stored in a Value.array_value where each entry is another Value.array_value with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the last value takes precedence.

Instance Attribute Summary collapse

Instance Attribute Details

#key_type::Google::Cloud::Bigtable::V2::Type

Returns The type of a map key. Only Bytes, String, and Int64 are allowed as key types.

Returns:



277
278
279
280
# File 'proto_docs/google/bigtable/v2/types.rb', line 277

class Map
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value_type::Google::Cloud::Bigtable::V2::Type

Returns The type of the values in a map.

Returns:



277
278
279
280
# File 'proto_docs/google/bigtable/v2/types.rb', line 277

class Map
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end