google_api_spanner v0.8.0 GoogleApi.Spanner.V1.Model.KeySet View Source
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.
Attributes
all
(type:boolean()
, default:nil
) - For convenienceall
can be set totrue
to indicate that thisKeySet
matches all keys in the table or index. Note that any keys specified inkeys
orranges
are only yielded once.keys
(type:list(list(any()))
, default:nil
) - A list of specific keys. Entries inkeys
should have exactly as many elements as there are columns in the primary or index key with which thisKeySet
is used. Individual key values are encoded as described here.ranges
(type:list(GoogleApi.Spanner.V1.Model.KeyRange.t)
, default:nil
) - A list of key ranges. See KeyRange for more information about key range specifications.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Spanner.V1.Model.KeySet{ all: boolean(), keys: [[any()]], ranges: [GoogleApi.Spanner.V1.Model.KeyRange.t()] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.