Reference documentation and code samples for the Cloud Bigtable V2 Client class Map.
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.
Generated from protobuf message google.bigtable.admin.v2.Type.Map
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2 \ TypeMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key_type
Google\Cloud\Bigtable\Admin\V2\Type
The type of a map key. Only Bytes
, String
, and Int64
are allowed as key types.
↳ value_type
getKeyType
The type of a map key.
Only Bytes
, String
, and Int64
are allowed as key types.
hasKeyType
clearKeyType
setKeyType
The type of a map key.
Only Bytes
, String
, and Int64
are allowed as key types.
$this
getValueType
The type of the values in a map.
hasValueType
clearValueType
setValueType
The type of the values in a map.
$this