public sealed class KeySet : IMessage<KeySet>, IEquatable<KeySet>, IDeepCloneable<KeySet>, IBufferMessage, IMessage
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.
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.
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][google.spanner.v1.TypeCode].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-04 UTC."],[[["The webpage provides documentation for the `KeySet` class within the `Google.Cloud.Spanner.V1` namespace, showcasing its definition and usage in Cloud Spanner."],["`KeySet` represents a collection of keys and/or key ranges within the same table or index in Cloud Spanner, and it ensures duplicate keys are treated as a single entry."],["The page details the available versions of the `KeySet` class, ranging from the latest beta version `5.0.0-beta05` down to version `3.5.0`, alongside the current default version `3.10.0`."],["The documentation outlines that `KeySet` inherits from `Object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it also includes constructors, along with `All`, `Keys`, and `Ranges` properties for managing the key set."],["The properties of the `KeySet` Class, `All`, `Keys`, and `Ranges`, each have their own type and description that are provided in the documentation to help the user know how to use them."]]],[]]