|
Google Cloud Spanner C++ Client
A C++ Client Library for Google Cloud Spanner
|
The KeySet class is a regular type that represents a collection of Keys.
More...
#include <google/cloud/spanner/keys.h>
Public Member Functions | |
| KeySet ()=default | |
Constructs an empty KeySet. More... | |
| KeySet (KeySet const &)=default | |
| KeySet & | operator= (KeySet const &)=default |
| KeySet (KeySet &&)=default | |
| KeySet & | operator= (KeySet &&)=default |
| KeySet & | AddKey (Key key) |
Adds the given key to the KeySet. More... | |
| KeySet & | AddRange (KeyBound start, KeyBound end) |
Adds a range of keys defined by the given KeyBounds. More... | |
Static Public Member Functions | |
| static KeySet | All () |
Returns a KeySet that represents the set of "All" keys for the index. More... | |
Friends | |
Equality | |
| bool | operator== (KeySet const &a, KeySet const &b) |
| bool | operator!= (KeySet const &a, KeySet const &b) |
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().
|
default |
Constructs an empty KeySet.
|
default |
|
default |
Adds the given key to the KeySet.
Adds a range of keys defined by the given KeyBounds.
|
inlinestatic |
Returns a KeySet that represents the set of "All" keys for the index.
1.8.15