public sealed class Type.Types.Map : IMessage<Type.Types.Map>, IEquatable<Type.Types.Map>, IDeepCloneable<Type.Types.Map>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class Type.Types.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.
Implements
IMessageTypeTypesMap, IEquatableTypeTypesMap, IDeepCloneableTypeTypesMap, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
Map()
public Map()
Map(Map)
public Map(Type.Types.Map other)
Parameter | |
---|---|
Name | Description |
other |
TypeTypesMap |
Properties
KeyType
public Type KeyType { get; set; }
The type of a map key.
Only Bytes
, String
, and Int64
are allowed as key types.
Property Value | |
---|---|
Type | Description |
Type |
ValueType
public Type ValueType { get; set; }
The type of the values in a map.
Property Value | |
---|---|
Type | Description |
Type |