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-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eKeySet\u003c/code\u003e class within the Google Cloud Spanner C++ library, with a focus on its various versions, including the latest release, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKeySet\u003c/code\u003e class is used to manage a collection of \u003ccode\u003eKey\u003c/code\u003es, allowing users to create sets, add individual keys, and define ranges of keys for operations like deletions.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a \u003ccode\u003eKeySet\u003c/code\u003e representing all possible keys using the \u003ccode\u003eKeySet::All()\u003c/code\u003e static function, useful for operations like deleting all entries in a table.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides examples of using \u003ccode\u003eKeySet\u003c/code\u003e with \u003ccode\u003eAddKey()\u003c/code\u003e and \u003ccode\u003eAddRange()\u003c/code\u003e functions, demonstrating how to build \u003ccode\u003eKeySet\u003c/code\u003e instances for specific keys or key ranges.\u003c/p\u003e\n"],["\u003cp\u003eConstructors and assignment operators are present for the \u003ccode\u003eKeySet\u003c/code\u003e class for creating empty instances and managing them.\u003c/p\u003e\n"]]],[],null,[]]