The KeySet class is a regular type that represents a collection of Keys.
Users can construct a KeySet instance, then add Keys and ranges of Keys to the set. The caller is responsible for ensuring that all keys in a given KeySet instance contain the same number and types of values.
Users may also optionally construct an instance that represents all keys with KeySet::All().
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eKeySet\u003c/code\u003e class, which is used to manage collections of \u003ccode\u003eKey\u003c/code\u003es within the Spanner C++ client library.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a \u003ccode\u003eKeySet\u003c/code\u003e instance and add individual \u003ccode\u003eKey\u003c/code\u003es or ranges of \u003ccode\u003eKey\u003c/code\u003es to it, provided all keys in the \u003ccode\u003eKeySet\u003c/code\u003e share the same number and types of values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKeySet::All()\u003c/code\u003e function allows for the creation of a \u003ccode\u003eKeySet\u003c/code\u003e that represents every key for an index, enabling operations like deleting all entries.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides various constructors and operators to interact with the KeySet, such as adding keys, adding key ranges, creating empty sets, or deleting every entry.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version in the documentation is 2.37.0-rc, while the current version being documented is version 2.18.0.\u003c/p\u003e\n"]]],[],null,[]]