Class KeySet
KeySet defines a collection of Cloud Spanner keys and/or key ranges. All the keys are expected to be in the
same table or index. The keys need not be sorted in any particular way. If the same key is specified multiple
times in the set (for example if two ranges, two keys, or a key and a range overlap), Cloud Spanner behaves as
if the key were only specified once.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class KeySet : IDirectResponseSchema
Properties
All
For convenience all can be set to true to indicate that this KeySet matches all keys in the table or
index. Note that any keys specified in keys or ranges are only yielded once.
Declaration
[JsonProperty("all")]
public virtual bool? All { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Keys
A list of specific keys. Entries in keys should have exactly as many elements as there are columns in the
primary or index key with which this KeySet is used. Individual key values are encoded as described here.
Declaration
[JsonProperty("keys")]
public virtual IList<IList<object>> Keys { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<IList<object>> |
Ranges
A list of key ranges. See KeyRange for more information about key range specifications.
Declaration
[JsonProperty("ranges")]
public virtual IList<KeyRange> Ranges { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<KeyRange> |